camera: Fix Y inverted
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Has been cancelled

This commit is contained in:
Florian RICHER 2025-05-29 16:38:45 +02:00
parent 8b16def890
commit 3a562fb6eb
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
2 changed files with 10 additions and 2 deletions

View file

@ -43,7 +43,7 @@ impl Scene for MainScene {
scene_context.swapchain_format,
)?;
let camera = Camera::new(Mat4::perspective_rh_gl(
let camera = Camera::new(Mat4::perspective_rh(
std::f32::consts::FRAC_PI_2,
scene_context.aspect_ratio,
0.01,