public float dot(btQuaternion q) { float ret = LinearMathPINVOKE.btQuaternion_dot(swigCPtr, btQuaternion.getCPtr(q)); if (LinearMathPINVOKE.SWIGPendingException.Pending) throw LinearMathPINVOKE.SWIGPendingException.Retrieve(); return ret; }