fixed the view frustum calculation

This commit is contained in:
Hartmut Seichter 2022-12-11 13:58:18 +01:00
parent 10a41fcfce
commit 040bc8d88a
2 changed files with 49 additions and 12 deletions

View file

@ -29,7 +29,7 @@ impl Viewer {
}
}
pub fn simulate_viewer(mut query: Query<&mut Viewer>, screen_info: Query<&ScreenInfo>) {
pub fn simulate_viewer(mut query: Query<&mut Viewer>) {
for mut v in query.iter_mut() {
//v.position += Vec3::Y * 0.005;
v.alpha += 0.01;