EvEmu
0.8.4
11 September 2021
|
#include "GaTypes.h"
Public Member Functions | |
GaExpInl | GaQuat () |
GaExpInl | GaQuat (GaFloat W, const GaVec3 &V) |
GaExpInl | GaQuat (GaFloat W, GaFloat X, GaFloat Y, GaFloat Z) |
GaQuat (const GaRadian &a, const GaVec3 &axis) | |
GaQuat (const GaMat3x3 &rot) | |
GaExpInl GaVec3 | operator* (const GaVec3 &vec) const |
GaExpInl GaQuat | operator* (const GaQuat &oth) const |
GaExpInl GaQuat & | operator= (const GaQuat &oth) |
GaQuat & | operator= (const Parameter &oth) |
GaQuat (const Parameter &oth) | |
GaQuat | inverse () const |
Public Attributes | |
GaFloat | w |
GaVec3 | v |
Static Public Attributes | |
static GaQuat | IDENTITY = GaQuat(1,0,0,0) |
static GaQuat | ZERO = GaQuat(0,0,0,0) |
|
inline |
Definition at line 27 of file GaTypes.cpp.
References Ga::Math::cosine(), Ga::GaRadian::r, Ga::Math::sine(), v, w, Ga::GaVec3::x, Ga::GaVec3::y, and Ga::GaVec3::z.
GaQuat::GaQuat | ( | const GaMat3x3 & | rot | ) |
Definition at line 298 of file GaTypes.cpp.
References Ga::Math::squareRoot(), v, w, Ga::GaVec3::x, Ga::GaVec3::y, and Ga::GaVec3::z.
Ga::GaQuat::GaQuat | ( | const Parameter & | oth | ) |
GaQuat GaQuat::inverse | ( | ) | const |
Definition at line 338 of file GaTypes.cpp.
References GaQuat(), v, w, Ga::GaVec3::x, Ga::GaVec3::y, and Ga::GaVec3::z.
Definition at line 231 of file GaTypes.h.
References Ga::GaVec3::crossProduct(), Ga::GaVec3::x, Ga::GaVec3::y, and Ga::GaVec3::z.
Definition at line 242 of file GaTypes.h.
References v, w, Ga::GaVec3::x, Ga::GaVec3::y, and Ga::GaVec3::z.
GaQuat& Ga::GaQuat::operator= | ( | const Parameter & | oth | ) |
GaVec3 Ga::GaQuat::v |
Definition at line 267 of file GaTypes.h.
Referenced by Ga::GaMat3x3::GaMat3x3(), GaQuat(), inverse(), operator*(), operator=(), and Ga::GaVec3::rotationTo().
GaFloat Ga::GaQuat::w |
Definition at line 266 of file GaTypes.h.
Referenced by Ga::GaMat3x3::GaMat3x3(), GaQuat(), inverse(), operator*(), and operator=().