Remove PI

This commit is contained in:
Jan Hohenheim 2025-07-13 00:53:58 +02:00
parent a5f6d91b4b
commit 3e4fc8ba8d
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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)),
));
}