NW4F Sys
Loading...
Searching...
No Matches
nw::math::QUAT Struct Reference

#include <math_Quaternion.h>

Inherits nw::math::QUAT_.

Public Types

typedef QUAT self_type
typedef f32 value_type

Public Member Functions

 QUAT ()
 QUAT (const f32 *p)
 QUAT (const QUAT_ &rhs)
 QUAT (f32 fx, f32 fy, f32 fz, f32 fw)
 operator f32 * ()
 operator const f32 * () const
f32 * ToF32 ()
const f32 * ToF32 () const
template<typename ToPtr>
ToPtr Cast ()
template<typename ToPtr>
ToPtr Cast () const
self_typeoperator+= (const self_type &rhs)
self_typeoperator-= (const self_type &rhs)
self_typeoperator*= (f32 f)
self_typeoperator/= (f32 f)
self_type operator+ () const
self_type operator- () const
self_type operator+ (const self_type &rhs) const
self_type operator- (const self_type &rhs) const
self_type operator* (f32 f) const
self_type operator/ (f32 f) const
bool operator== (const self_type &rhs) const
bool operator!= (const self_type &rhs) const

Additional Inherited Members

Public Attributes inherited from nw::math::QUAT_
f32 x
f32 y
f32 z
f32 w

Member Typedef Documentation

◆ self_type

◆ value_type

Constructor & Destructor Documentation

◆ QUAT() [1/4]

nw::math::QUAT::QUAT ( )
inline

◆ QUAT() [2/4]

nw::math::QUAT::QUAT ( const f32 * p)
inlineexplicit

◆ QUAT() [3/4]

nw::math::QUAT::QUAT ( const QUAT_ & rhs)
inlineexplicit

◆ QUAT() [4/4]

nw::math::QUAT::QUAT ( f32 fx,
f32 fy,
f32 fz,
f32 fw )
inline

Member Function Documentation

◆ operator f32 *()

nw::math::QUAT::operator f32 * ( )
inline

◆ operator const f32 *()

nw::math::QUAT::operator const f32 * ( ) const
inline

◆ ToF32() [1/2]

f32 * nw::math::QUAT::ToF32 ( )
inline

◆ ToF32() [2/2]

const f32 * nw::math::QUAT::ToF32 ( ) const
inline

◆ Cast() [1/2]

template<typename ToPtr>
ToPtr nw::math::QUAT::Cast ( )
inline

◆ Cast() [2/2]

template<typename ToPtr>
ToPtr nw::math::QUAT::Cast ( ) const
inline

◆ operator+=()

self_type & nw::math::QUAT::operator+= ( const self_type & rhs)
inline

◆ operator-=()

self_type & nw::math::QUAT::operator-= ( const self_type & rhs)
inline

◆ operator*=()

self_type & nw::math::QUAT::operator*= ( f32 f)
inline

◆ operator/=()

self_type & nw::math::QUAT::operator/= ( f32 f)
inline

◆ operator+() [1/2]

self_type nw::math::QUAT::operator+ ( ) const
inline

◆ operator-() [1/2]

self_type nw::math::QUAT::operator- ( ) const
inline

◆ operator+() [2/2]

self_type nw::math::QUAT::operator+ ( const self_type & rhs) const
inline

◆ operator-() [2/2]

self_type nw::math::QUAT::operator- ( const self_type & rhs) const
inline

◆ operator*()

self_type nw::math::QUAT::operator* ( f32 f) const
inline

◆ operator/()

self_type nw::math::QUAT::operator/ ( f32 f) const
inline

◆ operator==()

bool nw::math::QUAT::operator== ( const self_type & rhs) const
inline

◆ operator!=()

bool nw::math::QUAT::operator!= ( const self_type & rhs) const
inline