fix(render): match Ngi32 camera matrices

This commit is contained in:
2026-07-18 15:58:24 +04:00
parent fea984ddf5
commit a59f16d6b5
3 changed files with 34 additions and 25 deletions
@@ -353,7 +353,7 @@ mod static_mesh_tests {
assert!(camera.is_finite());
assert_eq!(camera.clip_from_world[0], 0.65_f32.cos());
assert_eq!(camera.clip_from_world[6], 700.0_f32 / 699.5);
assert_eq!(camera.clip_from_world[6], 0.65_f32.sin() * 700.0 / 699.5);
assert_eq!(camera.clip_from_world[7], 0.65_f32.sin());
}