Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Dec 5, 2023
1 parent a4c1822 commit a4ca873
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions physics/rigidbody.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
;; But doing so can lead to bi-stable states, as it'll change normalisation
;; from frame to frame without the orientation being changed from outside.
(nqunit* (orientation rigidbody))
(setf (global-bounds-cache-dirty-p (global-bounds-cache rigidbody)) T)
(tmat (tf rigidbody) (transform-matrix rigidbody))
(compute-world-inertia-tensor (world-inverse-inertia-tensor rigidbody) (inverse-inertia-tensor rigidbody) (transform-matrix rigidbody))
(loop for primitive across (physics-primitives rigidbody)
Expand Down

0 comments on commit a4ca873

Please sign in to comment.