update to utilize a proper off-axis projection including a demo scene to prototype all systems

This commit is contained in:
Hartmut Seichter 2022-12-11 21:12:08 +01:00
parent 040bc8d88a
commit 9c778afa2b
7 changed files with 130 additions and 81 deletions

View file

@ -77,7 +77,7 @@ pub fn build_scene(
) {
// plane
commands.spawn(PbrBundle {
mesh: meshes.add(Mesh::from(shape::Plane { size: 5.0 })),
mesh: meshes.add(Mesh::from(shape::Plane { size: 4.0 })),
material: materials.add(Color::rgb(0.3, 0.5, 0.3).into()),
..default()
});
@ -95,7 +95,7 @@ pub fn build_scene(
shadows_enabled: true,
..default()
},
transform: Transform::from_xyz(4.0, 8.0, -4.0),
transform: Transform::from_xyz(4.0, 1.0, -4.0),
..default()
});