Remove PI
This commit is contained in:
parent
a5f6d91b4b
commit
3e4fc8ba8d
@ -81,7 +81,7 @@ fn setup(
|
||||
));
|
||||
commands.spawn((
|
||||
SceneRoot(helmet_scene),
|
||||
Transform::from_xyz(-4.0, 0.0, -3.0).with_rotation(Quat::from_rotation_y(PI)),
|
||||
Transform::from_xyz(-4.0, 0.0, -3.0).looking_to(Vec3::Z, Vec3::Y),
|
||||
));
|
||||
|
||||
let mut forward_mat: StandardMaterial = Color::srgb(0.1, 0.2, 0.1).into();
|
||||
|
@ -109,7 +109,7 @@ fn setup(
|
||||
MeshMaterial3d(debug_material.clone()),
|
||||
Transform::default()
|
||||
.with_scale(Vec3::splat(0.2))
|
||||
.with_rotation(Quat::from_rotation_y(PI))
|
||||
.looking_to(Vec3::Z, Vec3::Y)
|
||||
.with_translation(Vec3::new(x as f32 / 2.0, 0.0, 0.3)),
|
||||
));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user