r/videogamescience • u/PeterBrobby • 9h ago
Code Physics Programming part 3 - Rotation and the Quaternion
5
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.