Classes | Namespaces | Functions
Quaternion.h File Reference
#include "Vector3.h"
#include "QuadWord.h"
Include dependency graph for Quaternion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tf2::Quaternion
 The Quaternion implements quaternion to perform linear algebra rotations in combination with Matrix3x3, Vector3 and Transform. More...

Namespaces

namespace  tf2

Functions

TF2SIMD_FORCE_INLINE tf2Scalar tf2::angle (const Quaternion &q1, const Quaternion &q2)
 Return the ***half*** angle between two quaternions.
TF2SIMD_FORCE_INLINE tf2Scalar tf2::angleShortestPath (const Quaternion &q1, const Quaternion &q2)
 Return the shortest angle between two quaternions.
TF2SIMD_FORCE_INLINE tf2Scalar tf2::dot (const Quaternion &q1, const Quaternion &q2)
 Calculate the dot product between two quaternions.
TF2SIMD_FORCE_INLINE Quaternion tf2::inverse (const Quaternion &q)
 Return the inverse of a quaternion.
TF2SIMD_FORCE_INLINE tf2Scalar tf2::length (const Quaternion &q)
 Return the length of a quaternion.
TF2SIMD_FORCE_INLINE Quaternion tf2::operator* (const Quaternion &q1, const Quaternion &q2)
 Return the product of two quaternions.
TF2SIMD_FORCE_INLINE Quaternion tf2::operator* (const Quaternion &q, const Vector3 &w)
TF2SIMD_FORCE_INLINE Quaternion tf2::operator* (const Vector3 &w, const Quaternion &q)
TF2SIMD_FORCE_INLINE Quaternion tf2::operator- (const Quaternion &q)
 Return the negative of a quaternion.
TF2SIMD_FORCE_INLINE Vector3 tf2::quatRotate (const Quaternion &rotation, const Vector3 &v)
TF2SIMD_FORCE_INLINE Quaternion tf2::shortestArcQuat (const Vector3 &v0, const Vector3 &v1)
TF2SIMD_FORCE_INLINE Quaternion tf2::shortestArcQuatNormalize2 (Vector3 &v0, Vector3 &v1)
TF2SIMD_FORCE_INLINE Quaternion tf2::slerp (const Quaternion &q1, const Quaternion &q2, const tf2Scalar &t)
 Return the result of spherical linear interpolation betwen two quaternions.


tf2
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Thu Jun 6 2019 20:22:56