r/videogamescience • u/PeterBrobby • 11h ago
Code Physics Programming part 3 - Rotation and the Quaternion
6
Upvotes
I explain rotations and quaternions. I then implement the latter into my physics engine by replacing the matrix version of angular velocity code with a quaternion version. I then benchmark the results.