search for problem with custom projection matrices
This commit is contained in:
parent
c3b852f312
commit
249187b698
4 changed files with 21 additions and 10 deletions
10
src/scene.rs
10
src/scene.rs
|
@ -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()
|
||||
// };
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue