Skip to content

Commit

Permalink
update deprecated inverse() call to invert()
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebakerio committed Jan 12, 2021
1 parent 7f2e430 commit c950d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/body/body.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ var Body = {
} else {
q1.copy(body.quaternion);
parentEl.object3D.getWorldQuaternion(q2);
q1.premultiply(q2.inverse());
q1.premultiply(q2.invert());
el.object3D.quaternion.copy(q1);

v.copy(body.position);
Expand Down

0 comments on commit c950d0d

Please sign in to comment.