value tuning
This commit is contained in:
parent
0803b9d611
commit
a5400fafaa
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ pub fn build_boid_mesh(mut meshes: ResMut<Assets<Mesh>>, mut boid_mesh: ResMut<B
|
||||||
pub fn make_boid_mesh() -> Mesh {
|
pub fn make_boid_mesh() -> Mesh {
|
||||||
const TRIANGLE_HEIGHT: f32 = 10.;
|
const TRIANGLE_HEIGHT: f32 = 10.;
|
||||||
const TRIANGLE_WIDTH: f32 = 5.;
|
const TRIANGLE_WIDTH: f32 = 5.;
|
||||||
const STROKE_WIDTH: f32 = 0.25;
|
const STROKE_WIDTH: f32 = 0.5;
|
||||||
|
|
||||||
const HALF_HEIGHT: f32 = TRIANGLE_HEIGHT / 2.0;
|
const HALF_HEIGHT: f32 = TRIANGLE_HEIGHT / 2.0;
|
||||||
const HALF_WIDTH: f32 = TRIANGLE_WIDTH / 2.0;
|
const HALF_WIDTH: f32 = TRIANGLE_WIDTH / 2.0;
|
||||||
|
|
|
@ -47,7 +47,7 @@ fn setup(
|
||||||
transform: Transform::from_scale(Vec3::splat(2.5)),
|
transform: Transform::from_scale(Vec3::splat(2.5)),
|
||||||
..default()
|
..default()
|
||||||
},
|
},
|
||||||
velocity: Velocity(Vec3::Y * 25.),
|
velocity: Velocity(Vec3::Y * 100.),
|
||||||
..default()
|
..default()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue