public static float length(btQuaternion q) { float ret = LinearMathPINVOKE.length(btQuaternion.getCPtr(q)); if (LinearMathPINVOKE.SWIGPendingException.Pending) throw LinearMathPINVOKE.SWIGPendingException.Retrieve(); return ret; }