|
| | Quat () noexcept=default |
| | Quat (T x, T y, T z, T w) noexcept |
| | Quat (T angle, const Vec3< T > &axis) noexcept |
| | Quat (T yaw, T pitch, T bank) noexcept |
| | Quat (const Vec3< T > &eulerAngles) noexcept |
| | ~Quat ()=default |
| bool | operator== (const Quat &v) const noexcept |
| bool | operator!= (const Quat &v) const noexcept |
| bool | operator< (const Quat &v) const noexcept |
| Quat | operator* (T rhs) const |
| Quat & | operator*= (T rhs) noexcept |
| Quat | operator* (const Quat &rhs) const noexcept |
| Vec3< T > | operator* (const Vec3< T > &v) const noexcept |
| Quat & | operator*= (const Quat &rhs) noexcept |
| Quat | operator/ (const Quat &denom) const noexcept |
| Quat & | operator/= (const Quat &denom) noexcept |
| Quat | operator+ (const Quat &rhs) const noexcept |
| Quat | operator/ (const T rhs) const noexcept |
| Quat & | operator/= (T rhs) noexcept |
| Quat & | operator+= (const Quat &rhs) noexcept |
| Quat | operator- (const Quat &rhs) const noexcept |
| Quat & | operator-= (const Quat &rhs) noexcept |
| Quat | operator- () const noexcept |
| T | dot (const Quat< T > &other) const noexcept |
| Vec3< T > | asVec3 () const noexcept |
| void | set (T x, T y, T z, T w) noexcept |
| T | getX () const noexcept |
| T | getY () const noexcept |
| T | getZ () const noexcept |
| T | getW () const noexcept |
| void | setX (T x) noexcept |
| void | setY (T y) noexcept |
| void | setZ (T z) noexcept |
| void | setW (T w) noexcept |
| bool | zeroRotation () const noexcept |
| T | length () const noexcept |
| T | length2 () const noexcept |
| Quat | conj () const |
| | returns the conjugate of a quaternion which is obtained by negating the imaginary components while keeping the real component unchanged
|
| Quat | inverse () const |
| | returns the inverse of a quaternion q, denoted as q-1, is defined such that the product of q and its inverse yields the identity quaternion.
|
| void | makeRotate (T angle, T x, T y, T z) noexcept |
| void | makeRotate (T angle, const Vec3< T > &vec) noexcept |
| void | makeRotate (const Vec3< T > &from, const Vec3< T > &to) noexcept |
| void | makeRotate (T angle1, const Vec3< T > &axis1, T angle2, const Vec3< T > &axis2, T angle3, const Vec3< T > &axis3) noexcept |
| void | makeRotateFromEulerYPB (T yaw, T pitch, T bank) noexcept |
| void | makeRotateFromEulerYPB (const Vec3< T > &eulerAngles) noexcept |
| void | getRotate (T &angle, T &x, T &y, T &z) const noexcept |
| void | getRotate (T &angle, Vec3< T > &vec) const noexcept |
| Vec3< T > | getRotateInEulerYPB () const noexcept |
| void | slerp (T t, const Quat &from, const Quat &to) noexcept |
| | Performs spherical linear interpolation (slerp) between two quaternions.
|
template<typename T>
class sen::util::Quat< T >
Quaternion. Represents the orientation of an object in space.