Logo Search packages:      
Sourcecode: blender version File versions  Download package

btScalar btQuaternion::dot ( const btQuaternion q  )  const [inline]

Return the dot product between this quaternion and another.

q The other quaternion

Definition at line 143 of file btQuaternion.h.

Referenced by angle(), farthest(), and length2().

            return m_floats[0] * q.x() + m_floats[1] * q.y() + m_floats[2] * q.z() + m_floats[3] * q.m_floats[3];

Generated by  Doxygen 1.6.0   Back to index