Get the rotation angle and axis for a given quaternion
q = raylib.QuaternionFromAxisAngle([0,1,0], 90*(pi/180)) result = raylib.QuaternionToAxisAngle(q) print result.axis // [0, 1, 0] print result.angle // ~1.5708 (pi/2)
There was an error while loading. Please reload this page.