Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Dec 14, 2024
1 parent 4829b07 commit 3fe007a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camera.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
(flet ((invert (v)
(let ((w (/ (+ (* (vx v) (m 3 0)) (* (vy v) (m 3 1)) (* (vz v) (m 3 2)) (m 3 3)))))
(n*m inv (vsetf tmp (* (vx v) w) (* (vy v) w) (* (vz v) w) w)))))
(loop for v in (list #.(vec -1 -1 -1) #.(vec +1 -1 -1) #.(vec +1 +1 -1) #.(vec -1 +1 -1)
(loop for v across #(#.(vec -1 -1 -1) #.(vec +1 -1 -1) #.(vec +1 +1 -1) #.(vec -1 +1 -1)
#.(vec -1 -1 +1) #.(vec +1 -1 +1) #.(vec +1 +1 +1) #.(vec -1 +1 +1))
for i from 0 by 3
do (invert v)
Expand Down

0 comments on commit 3fe007a

Please sign in to comment.