Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asny committed Nov 13, 2024
1 parent 84e30ec commit 20bef5a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,6 @@ impl Camera {
let mut v = self.view;
v /= v[3][3];
if let ProjectionType::Perspective { .. } = self.projection_type {
v /= v[3][3];
v[3] = vec4(0.0, 0.0, 0.0, 1.0);
}
self.screen2ray = (self.projection * v)
Expand Down

0 comments on commit 20bef5a

Please sign in to comment.