I'm pretty sure the quats are right. At least, it uses the same code as the one in the archives
When I use the code in "3D Math Primer" I get bad results, so I had to change it up a bit.
When I use the code in "3D Math Primer" I get bad results, so I had to change it up a bit.