1
Fork 0

shrink to fit allowed material

This commit is contained in:
Andy Killorin 2023-11-05 20:53:06 -06:00
parent cc0a074a42
commit 34793585ad
Signed by: ank
GPG key ID: B6241CA3B552BCA4

View file

@ -8,7 +8,7 @@ use crate::WingConfig;
const IN2MM: f32 = 25.4; const IN2MM: f32 = 25.4;
pub const CHORD: f32 = 7.0 * IN2MM; pub const CHORD: f32 = 7.0 * IN2MM;
pub const WING_TAPER: f32 = 0.6; pub const WING_TAPER: f32 = 0.6;
pub const WINGSPAN: f32 = 45.0 * IN2MM; pub const WINGSPAN: f32 = 33.0 * IN2MM;
pub const LENGTH: f32 = 30.0 * IN2MM; pub const LENGTH: f32 = 30.0 * IN2MM;
/// strut count in the main wing /// strut count in the main wing
pub const STRUTS: usize = 12; pub const STRUTS: usize = 12;
@ -24,7 +24,7 @@ pub const SPAR_SIDE_WIDTH: f32 = 0.75 * IN2MM;
pub const FUSELAGE_GAP: f32 = 0.4 * IN2MM; pub const FUSELAGE_GAP: f32 = 0.4 * IN2MM;
/// a very large number, used to place unknown objects such that they do not intersect /// a very large number, used to place unknown objects such that they do not intersect
pub const INF: f32 = 1000.0; pub const INF: f32 = 1000.0;
pub const RUDDER_HEIGHT: f32 = 5.0 * IN2MM; pub const RUDDER_HEIGHT: f32 = 4.0 * IN2MM;
pub const RUDDER_CHORD: f32 = 4.0 * IN2MM; pub const RUDDER_CHORD: f32 = 4.0 * IN2MM;
pub const RUDDER_TAPER: f32 = 0.9; pub const RUDDER_TAPER: f32 = 0.9;
pub const RUDDER_STRUTS: usize = 3; pub const RUDDER_STRUTS: usize = 3;
@ -34,7 +34,7 @@ pub const RUDDER: WingConfig = WingConfig {
taper: RUDDER_TAPER, taper: RUDDER_TAPER,
struts: RUDDER_STRUTS, struts: RUDDER_STRUTS,
}; };
pub const ELEVATOR_HEIGHT: f32 = 8.0 * IN2MM; pub const ELEVATOR_HEIGHT: f32 = 4.0 * IN2MM;
pub const ELEVATOR_CHORD: f32 = 5.0 * IN2MM; pub const ELEVATOR_CHORD: f32 = 5.0 * IN2MM;
pub const ELEVATOR_TAPER: f32 = 0.7; pub const ELEVATOR_TAPER: f32 = 0.7;
pub const ELEVATOR_STRUTS: usize = 4; pub const ELEVATOR_STRUTS: usize = 4;