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

Description

Definition at line 24 of file math_types.h.

Public Member Functions

 VEC2 (f32 fx, f32 fy)
 
 operator f32 * ()
 
 operator const f32 * () const
 
VEC2 operator+ (const VEC2 &rRhs) const
 
VEC2 operator- (const VEC2 &rRhs) const
 
VEC2operator+= (const VEC2 &rRhs)
 
VEC2operator-= (const VEC2 &rRhs)
 
bool operator== (const VEC2 &rRhs) const
 
bool operator!= (const VEC2 &rRhs) const
 

Additional Inherited Members

- Public Attributes inherited from nw4r::math::_VEC2
f32 x
 
f32 y
 

Constructor & Destructor Documentation

◆ VEC2() [1/2]

nw4r::math::VEC2::VEC2 ( )
inline

Definition at line 25 of file math_types.h.

◆ VEC2() [2/2]

nw4r::math::VEC2::VEC2 ( f32 fx,
f32 fy )
inline

Definition at line 26 of file math_types.h.

Member Function Documentation

◆ operator f32 *()

nw4r::math::VEC2::operator f32 * ( )
inline

Definition at line 31 of file math_types.h.

◆ operator const f32 *()

nw4r::math::VEC2::operator const f32 * ( ) const
inline

Definition at line 34 of file math_types.h.

◆ operator+()

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

Definition at line 38 of file math_types.h.

◆ operator-()

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

Definition at line 41 of file math_types.h.

◆ operator+=()

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

Definition at line 45 of file math_types.h.

◆ operator-=()

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

Definition at line 50 of file math_types.h.

◆ operator==()

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

Definition at line 56 of file math_types.h.

◆ operator!=()

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

Definition at line 59 of file math_types.h.