Go to the source code of this file.
Classes | |
class | btQuaternion |
The btQuaternion implements quaternion to perform linear algebra rotations in combination with btMatrix3x3, btVector3 and btTransform. More... | |
Functions | |
SIMD_FORCE_INLINE btScalar | angle (const btQuaternion &q1, const btQuaternion &q2) |
Return the ***half*** angle between two quaternions. | |
SIMD_FORCE_INLINE btScalar | angleShortestPath (const btQuaternion &q1, const btQuaternion &q2) |
Return the shortest angle between two quaternions. | |
SIMD_FORCE_INLINE btScalar | dot (const btQuaternion &q1, const btQuaternion &q2) |
Calculate the dot product between two quaternions. | |
SIMD_FORCE_INLINE btQuaternion | inverse (const btQuaternion &q) |
Return the inverse of a quaternion. | |
SIMD_FORCE_INLINE btScalar | length (const btQuaternion &q) |
Return the length of a quaternion. | |
SIMD_FORCE_INLINE btQuaternion | operator* (const btQuaternion &q1, const btQuaternion &q2) |
Return the product of two quaternions. | |
SIMD_FORCE_INLINE btQuaternion | operator* (const btQuaternion &q, const btVector3 &w) |
SIMD_FORCE_INLINE btQuaternion | operator* (const btVector3 &w, const btQuaternion &q) |
SIMD_FORCE_INLINE btQuaternion | operator- (const btQuaternion &q) |
Return the negative of a quaternion. | |
SIMD_FORCE_INLINE btVector3 | quatRotate (const btQuaternion &rotation, const btVector3 &v) |
SIMD_FORCE_INLINE btQuaternion | shortestArcQuat (const btVector3 &v0, const btVector3 &v1) |
SIMD_FORCE_INLINE btQuaternion | shortestArcQuatNormalize2 (btVector3 &v0, btVector3 &v1) |
SIMD_FORCE_INLINE btQuaternion | slerp (const btQuaternion &q1, const btQuaternion &q2, const btScalar &t) |
Return the result of spherical linear interpolation betwen two quaternions. |
SIMD_FORCE_INLINE btScalar angle | ( | const btQuaternion & | q1, |
const btQuaternion & | q2 | ||
) |
Return the ***half*** angle between two quaternions.
Definition at line 402 of file btQuaternion.h.
SIMD_FORCE_INLINE btScalar angleShortestPath | ( | const btQuaternion & | q1, |
const btQuaternion & | q2 | ||
) |
Return the shortest angle between two quaternions.
Definition at line 409 of file btQuaternion.h.
SIMD_FORCE_INLINE btScalar dot | ( | const btQuaternion & | q1, |
const btQuaternion & | q2 | ||
) |
Calculate the dot product between two quaternions.
Definition at line 387 of file btQuaternion.h.
SIMD_FORCE_INLINE btQuaternion inverse | ( | const btQuaternion & | q | ) |
Return the inverse of a quaternion.
Definition at line 416 of file btQuaternion.h.
SIMD_FORCE_INLINE btScalar length | ( | const btQuaternion & | q | ) |
Return the length of a quaternion.
Definition at line 395 of file btQuaternion.h.
SIMD_FORCE_INLINE btQuaternion operator* | ( | const btQuaternion & | q1, |
const btQuaternion & | q2 | ||
) |
Return the product of two quaternions.
Definition at line 360 of file btQuaternion.h.
SIMD_FORCE_INLINE btQuaternion operator* | ( | const btQuaternion & | q, |
const btVector3 & | w | ||
) |
Definition at line 368 of file btQuaternion.h.
SIMD_FORCE_INLINE btQuaternion operator* | ( | const btVector3 & | w, |
const btQuaternion & | q | ||
) |
Definition at line 377 of file btQuaternion.h.
SIMD_FORCE_INLINE btQuaternion operator- | ( | const btQuaternion & | q | ) |
Return the negative of a quaternion.
Definition at line 351 of file btQuaternion.h.
SIMD_FORCE_INLINE btVector3 quatRotate | ( | const btQuaternion & | rotation, |
const btVector3 & | v | ||
) |
Definition at line 433 of file btQuaternion.h.
SIMD_FORCE_INLINE btQuaternion shortestArcQuat | ( | const btVector3 & | v0, |
const btVector3 & | v1 | ||
) |
Definition at line 441 of file btQuaternion.h.
SIMD_FORCE_INLINE btQuaternion shortestArcQuatNormalize2 | ( | btVector3 & | v0, |
btVector3 & | v1 | ||
) |
Definition at line 460 of file btQuaternion.h.
SIMD_FORCE_INLINE btQuaternion slerp | ( | const btQuaternion & | q1, |
const btQuaternion & | q2, | ||
const btScalar & | t | ||
) |
Return the result of spherical linear interpolation betwen two quaternions.
q1 | The first quaternion |
q2 | The second quaternion |
t | The ration between q1 and q2. t = 0 return q1, t=1 returns q2 Slerp assumes constant velocity between positions. |
Definition at line 427 of file btQuaternion.h.