cpml
cpml copied to clipboard
fix quat(quat(...)) always returning the identity quaternion under luajit
I changed it to match the way vec3 detects cdata.
Also added a test, though the test will not catch this bug unless run under luajit rather than lua.