News for hackers. Stuff that matters.
Re:Rotations with quaternions by gilbetron on Tuesday June 01, 2021 @10:22AM (#27354924)
If you are going to apply 3 angles directly, then you run into problems (specifically, if you pitch +/- 90 degrees, then roll and yaw become the same thing, aka gimbal lock). If you take those 3 angles and convert them to a matrix, and use that matrix to apply the angles, you're all good. You can then even take the new matrix and pull 3 angles out of that.
Re:Rotations with quaternions by toxik on Tuesday June 01, 2021 @06:40PM (#27362396)
… and those three angles will be discontinuous at the poles.