4 ms·
Quarternions are much easier then the typical vector arithmetic, that is used by OpenGL ES. Linden Scripting Language even provides quarternions conversion wit
by kephra 12y ago
Quarternions are much easier then the typical vector arithmetic, that is used by OpenGL ES.
Linden Scripting Language even provides quarternions conversion with llEuler2Rot, llRot2Euler and llAxisAngle2Rot. See: http://wiki.secondlife.com/wiki/Quaternion http://wiki.secondlife.com/wiki/Quaternion for an introduction.
So quaternions are useful for 3d games, and games are a hot topic for Lua. But its not required, that complex numbers or quarternions are part of base language. See: http://lua-users.org/wiki/ComplexNumbers http://lua-users.org/wiki/ComplexNumbers - thats easy to implement with Lua prototyping.