search for problem with custom projection matrices

This commit is contained in:
Hartmut Seichter 2022-12-07 20:41:17 +01:00
parent c3b852f312
commit 249187b698
4 changed files with 21 additions and 10 deletions

View file

@ -96,18 +96,18 @@ pub fn build_scene(
shadows_enabled: true,
..default()
},
transform: Transform::from_xyz(4.0, 8.0, 4.0),
transform: Transform::from_xyz(4.0, 8.0, -4.0),
..default()
});
// camera
let mut cam = Camera3dBundle {
transform: Transform::from_xyz(-2.0, 2.5, 5.0).looking_at(Vec3::ZERO, Vec3::Y),
// let mut cam = Camera3dBundle {
// transform: Transform::from_xyz(-2.0, 2.5, 5.0).looking_at(Vec3::ZERO, Vec3::Y),
..default()
};
// ..default()
// };