revert previous glider span length

This commit is contained in:
crabman 2024-02-21 20:48:24 +01:00
parent 94f6c3350c
commit 515e7fe4f0
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ impl From<&JoinData<'_>> for Data {
//
// A span/chord ratio of 4.5 gives an AR of ~5.73.
// A span/chord ratio of 3.0 gives an ARI of ~3.82.
span_length: scale * 3.0,
span_length: scale * 4.5,
chord_length: scale,
ori: *data.ori,
}

View File

@ -145,7 +145,7 @@ fn simulated_wind_vel(
.unwrap_or(0.);
let interp_town = terrain
.get_interpolated(pos_2d, |c| match c.meta().site() {
Some(SiteKindMeta::Settlement(_)) => 3.5,
Some(SiteKindMeta::Settlement(_)) => 2.7,
_ => 1.0,
})
.unwrap_or(0.);
@ -176,7 +176,7 @@ fn simulated_wind_vel(
// 0.0..1.0, 0.25 morning, 0.45 midday, 0.66 evening, 0.79 night, 0.0/1.0
// midnight
let sun_dir = time_of_day.get_sun_dir().normalized();
let mut lift = ((sun_dir - normal.normalized()).magnitude() - 0.5).max(0.2) * 3.;
let mut lift = ((sun_dir - normal.normalized()).magnitude() - 0.5).max(0.2) * 2.3;
// TODO: potential source of harsh edges in wind speed.
let temperatures = surrounding_chunks_metas.iter().map(|m| m.temp()).minmax();
@ -235,7 +235,7 @@ fn simulated_wind_vel(
angle = (angle - 1.3).max(0.0);
// the ridge lift is based on the angle and the velocity of the wind
angle * steepness * wind_velocity.magnitude() * 2.5
angle * steepness * wind_velocity.magnitude() * 2.0
};
// Cliffs mean more lift