template<typename T>
Quat struct
Base classes
-
template<typename T>struct BaseQuat<T>
Public static variables
Constructors, destructors, conversion operators
Public functions
- auto operator=(const Quat& other) -> Quat&
- auto operator*=(const Quat& t) -> Quat&
- auto operator*=(T t) -> Quat&
- auto operator==(const Quat& rhs) const -> bool
- auto length() const -> T
- auto normalize() -> T
- auto dot(const Self& q) -> T
- void inverse(Self* q)
- void makeUnit()
- auto makeVectorRotation(const Vec3& from, const Vec3& to) -> bool
- void set(const Self& other)
- void set(T w, T x, T y, T z)
- void setRPY(T roll, T pitch, T yaw)
- void calcRPY(Vec3& rpy) const
- auto unit(1. 0f, 0. 0f, 0. 0f, 0. 0f) -> const Quatf
Public variables
Friends
Function documentation
#include <modules/src/math/seadQuat.cpp>
template<typename T>
const Quatf sead:: Quat<T>:: unit(1. 0f,
0. 0f,
0. 0f,
0. 0f)
Variable documentation
#include <math/seadMathBase.h>
template<typename T>
T sead:: Quat<T>:: x
#include <math/seadMathBase.h>
template<typename T>
T sead:: Quat<T>:: y
#include <math/seadMathBase.h>
template<typename T>
T sead:: Quat<T>:: z
#include <math/seadMathBase.h>
template<typename T>
T sead:: Quat<T>:: w