PeriDyno 1.0.0
Loading...
Searching...
No Matches
vgm::Quat Class Reference

#include <vgMath.h>

Public Member Functions

 Quat ()=default
 
 Quat (const QUAT_T &)=default
 
 Quat (T w, T x, T y, T z)
 
 Quat (T s, const VEC3_T &v)
 
Quat operator- () const
 
Quatoperator+= (const Quat &q)
 
Quatoperator-= (const Quat &q)
 
Quatoperator*= (const Quat &q)
 
Quatoperator*= (T s)
 
Quatoperator/= (T s)
 
Quat operator+ (const Quat &q) const
 
Quat operator- (const Quat &q) const
 
Quat operator* (const Quat &q) const
 
Quat operator* (T s) const
 
Quat operator/ (T s) const
 
const Toperator[] (int i) const
 
Toperator[] (int i)
 
 operator const T * () const
 
 operator T* ()
 

Public Attributes

T x
 
T y
 
T z
 
T w
 

Detailed Description

Definition at line 224 of file vgMath.h.

Constructor & Destructor Documentation

◆ Quat() [1/4]

vgm::Quat::Quat ( )
default
Here is the caller graph for this function:

◆ Quat() [2/4]

vgm::Quat::Quat ( const QUAT_T & )
default

◆ Quat() [3/4]

vgm::Quat::Quat ( T w,
T x,
T y,
T z )
inline

Definition at line 230 of file vgMath.h.

◆ Quat() [4/4]

vgm::Quat::Quat ( T s,
const VEC3_T & v )
inlineexplicit

Definition at line 231 of file vgMath.h.

Member Function Documentation

◆ operator const T *()

vgm::Quat::operator const T * ( ) const
inlineexplicit

Definition at line 254 of file vgMath.h.

◆ operator T*()

vgm::Quat::operator T* ( )
inlineexplicit

Definition at line 255 of file vgMath.h.

◆ operator*() [1/2]

Quat vgm::Quat::operator* ( const Quat & q) const
inline

Definition at line 243 of file vgMath.h.

Here is the call graph for this function:

◆ operator*() [2/2]

Quat vgm::Quat::operator* ( T s) const
inline

Definition at line 248 of file vgMath.h.

Here is the call graph for this function:

◆ operator*=() [1/2]

Quat & vgm::Quat::operator*= ( const Quat & q)
inline

Definition at line 237 of file vgMath.h.

Here is the call graph for this function:

◆ operator*=() [2/2]

Quat & vgm::Quat::operator*= ( T s)
inline

Definition at line 238 of file vgMath.h.

Here is the call graph for this function:

◆ operator+()

Quat vgm::Quat::operator+ ( const Quat & q) const
inline

Definition at line 241 of file vgMath.h.

Here is the call graph for this function:

◆ operator+=()

Quat & vgm::Quat::operator+= ( const Quat & q)
inline

Definition at line 235 of file vgMath.h.

Here is the call graph for this function:

◆ operator-() [1/2]

Quat vgm::Quat::operator- ( ) const
inline

Definition at line 233 of file vgMath.h.

Here is the call graph for this function:

◆ operator-() [2/2]

Quat vgm::Quat::operator- ( const Quat & q) const
inline

Definition at line 242 of file vgMath.h.

Here is the call graph for this function:

◆ operator-=()

Quat & vgm::Quat::operator-= ( const Quat & q)
inline

Definition at line 236 of file vgMath.h.

Here is the call graph for this function:

◆ operator/()

Quat vgm::Quat::operator/ ( T s) const
inline

Definition at line 249 of file vgMath.h.

Here is the call graph for this function:

◆ operator/=()

Quat & vgm::Quat::operator/= ( T s)
inline

Definition at line 239 of file vgMath.h.

Here is the call graph for this function:

◆ operator[]() [1/2]

T & vgm::Quat::operator[] ( int i)
inline

Definition at line 252 of file vgMath.h.

◆ operator[]() [2/2]

const T & vgm::Quat::operator[] ( int i) const
inline

Definition at line 251 of file vgMath.h.

Member Data Documentation

◆ w

T vgm::Quat::w

Definition at line 226 of file vgMath.h.

◆ x

T vgm::Quat::x

Definition at line 226 of file vgMath.h.

◆ y

T vgm::Quat::y

Definition at line 226 of file vgMath.h.

◆ z

T vgm::Quat::z

Definition at line 226 of file vgMath.h.


The documentation for this class was generated from the following file: