NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::math::VEC3 Struct Reference
Inheritance diagram for nw4r::math::VEC3:
[legend]

Description

Definition at line 81 of file math_types.h.

Public Member Functions

 VEC3 (f32 fx, f32 fy, f32 fz)
 
 VEC3 (const _VEC3 &rVec)
 
 VEC3 (const Vec &rVec)
 
 VEC3 (const f32 *pData)
 
 operator Vec * ()
 
 operator const Vec * () const
 
f32 LenSq () const
 
VEC3 operator- () const
 
VEC3 operator+ (const VEC3 &rRhs) const
 
VEC3 operator- (const VEC3 &rRhs) const
 
VEC3 operator* (f32 x) const
 
VEC3 operator/ (f32 x) const
 
VEC3operator+= (const VEC3 &rRhs)
 
VEC3operator-= (const VEC3 &rRhs)
 
VEC3operator*= (f32 x)
 
VEC3operator/= (f32 x)
 
bool operator== (const VEC3 &rRhs) const
 
bool operator!= (const VEC3 &rRhs) const
 

Additional Inherited Members

- Public Attributes inherited from nw4r::math::_VEC3
f32 x
 
f32 y
 
f32 z
 

Constructor & Destructor Documentation

◆ VEC3() [1/5]

nw4r::math::VEC3::VEC3 ( )
inline

Definition at line 82 of file math_types.h.

◆ VEC3() [2/5]

nw4r::math::VEC3::VEC3 ( f32 fx,
f32 fy,
f32 fz )
inline

Definition at line 83 of file math_types.h.

◆ VEC3() [3/5]

nw4r::math::VEC3::VEC3 ( const _VEC3 & rVec)
inline

Definition at line 88 of file math_types.h.

◆ VEC3() [4/5]

nw4r::math::VEC3::VEC3 ( const Vec & rVec)
inline

Definition at line 93 of file math_types.h.

◆ VEC3() [5/5]

nw4r::math::VEC3::VEC3 ( const f32 * pData)
inline

Definition at line 98 of file math_types.h.

Member Function Documentation

◆ operator Vec *()

nw4r::math::VEC3::operator Vec * ( )
inline

Definition at line 104 of file math_types.h.

◆ operator const Vec *()

nw4r::math::VEC3::operator const Vec * ( ) const
inline

Definition at line 107 of file math_types.h.

◆ LenSq()

f32 nw4r::math::VEC3::LenSq ( ) const
inline

Definition at line 111 of file math_types.h.

◆ operator-() [1/2]

VEC3 nw4r::math::VEC3::operator- ( ) const
inline

Definition at line 115 of file math_types.h.

◆ operator+()

VEC3 nw4r::math::VEC3::operator+ ( const VEC3 & rRhs) const
inline

Definition at line 119 of file math_types.h.

◆ operator-() [2/2]

VEC3 nw4r::math::VEC3::operator- ( const VEC3 & rRhs) const
inline

Definition at line 124 of file math_types.h.

◆ operator*()

VEC3 nw4r::math::VEC3::operator* ( f32 x) const
inline

Definition at line 129 of file math_types.h.

◆ operator/()

VEC3 nw4r::math::VEC3::operator/ ( f32 x) const
inline

Definition at line 134 of file math_types.h.

◆ operator+=()

VEC3 & nw4r::math::VEC3::operator+= ( const VEC3 & rRhs)
inline

Definition at line 139 of file math_types.h.

◆ operator-=()

VEC3 & nw4r::math::VEC3::operator-= ( const VEC3 & rRhs)
inline

Definition at line 143 of file math_types.h.

◆ operator*=()

VEC3 & nw4r::math::VEC3::operator*= ( f32 x)
inline

Definition at line 147 of file math_types.h.

◆ operator/=()

VEC3 & nw4r::math::VEC3::operator/= ( f32 x)
inline

Definition at line 151 of file math_types.h.

◆ operator==()

bool nw4r::math::VEC3::operator== ( const VEC3 & rRhs) const
inline

Definition at line 155 of file math_types.h.

◆ operator!=()

bool nw4r::math::VEC3::operator!= ( const VEC3 & rRhs) const
inline

Definition at line 158 of file math_types.h.