Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
cXyz Struct Reference

#include <c_xyz.h>

+ Inheritance diagram for cXyz:
+ Collaboration diagram for cXyz:

Public Member Functions

void operator- (Vec const &) const
 
void atan2sX_Z () const
 
void atan2sY_XZ () const
 
 ~cXyz ()
 
void operator+ (Vec const &) const
 
void operator- (Vec const &) const
 
 ~cXyz ()
 
 cXyz ()
 
void operator+ (Vec const &) const
 
void operator- (Vec const &) const
 
void operator* (f32) const
 
 ~cXyz ()
 
 cXyz ()
 
 ~cXyz ()
 
 cXyz ()
 
 cXyz (f32 x, f32 y, f32 z)
 
 cXyz (const cXyz &vec)
 
 cXyz (const Vec &vec)
 
void operator= (const Vec &vec)
 
cXyz operator+ (Vec const &) const
 
cXyz operator- (Vec const &) const
 
cXyz operator* (f32) const
 
cXyz operator* (Vec const &) const
 
cXyz operator/ (f32) const
 
void operator+= (f32 f)
 
void operator-= (f32 f)
 
void operator*= (const Vec &other)
 
void operator-= (const Vec &other)
 
cXyzoperator+= (const Vec &other)
 
void operator*= (f32 scale)
 
void operator/= (f32 scale)
 
cXyz getCrossProduct (Vec const &) const
 
cXyz outprod (Vec const &) const
 
cXyz norm () const
 
cXyz normZP () const
 
cXyz normZC () const
 
cXyz normalize ()
 
cXyz normalizeZP ()
 
bool normalizeRS ()
 
bool operator== (Vec const &) const
 
bool operator!= (Vec const &) const
 
bool isZero () const
 
s16 atan2sX_Z () const
 
s16 atan2sY_XZ () const
 
void set (f32 pX, f32 pY, f32 pZ)
 
void set (const Vec &other)
 
f32 getXDiff (const Vec *other) const
 
f32 getYDiff (const Vec *other) const
 
f32 getZDiff (const Vec *other) const
 
void setall (f32 f)
 
void setMin (const cXyz &other)
 
void setMax (const cXyz &other)
 
void zero ()
 
float getSquareMag () const
 
f32 getSquareDistance (const Vec &other) const
 
bool isNearZeroSquare () const
 
f32 abs2 () const
 
f32 abs2 (const Vec &other) const
 
f32 abs2XZ () const
 
f32 abs2XZ (const Vec &other) const
 
f32 abs () const
 
f32 abs (const Vec &other) const
 
f32 absXZ () const
 
f32 absXZ (const Vec &other) const
 
f32 getMagXZ () const
 
f32 getDotProduct (const Vec &other) const
 
f32 inprod (const Vec &other) const
 
f32 inprodXZ (const Vec &other) const
 

Static Public Member Functions

static float getNearZeroValue ()
 

Static Public Attributes

static const cXyz Zero
 
static const cXyz BaseX
 
static const cXyz BaseY
 
static const cXyz BaseZ
 
static const cXyz BaseXY
 
static const cXyz BaseXZ
 
static const cXyz BaseYZ
 
static const cXyz BaseXYZ
 

Additional Inherited Members

- Public Attributes inherited from Vec
f32 x
 
f32 y
 
f32 z
 

Constructor & Destructor Documentation

◆ ~cXyz() [1/4]

cXyz::~cXyz ( )

◆ ~cXyz() [2/4]

cXyz::~cXyz ( )

◆ cXyz() [1/6]

cXyz::cXyz ( )

◆ ~cXyz() [3/4]

cXyz::~cXyz ( )

◆ cXyz() [2/6]

cXyz::cXyz ( )

◆ ~cXyz() [4/4]

cXyz::~cXyz ( )
inline

◆ cXyz() [3/6]

cXyz::cXyz ( )
inline

◆ cXyz() [4/6]

cXyz::cXyz ( f32  x,
f32  y,
f32  z 
)
inline

◆ cXyz() [5/6]

cXyz::cXyz ( const cXyz vec)
inline

◆ cXyz() [6/6]

cXyz::cXyz ( const Vec vec)
inline

Member Function Documentation

◆ abs() [1/2]

f32 cXyz::abs ( ) const
inline

◆ abs() [2/2]

f32 cXyz::abs ( const Vec other) const
inline

◆ abs2() [1/2]

f32 cXyz::abs2 ( ) const
inline

◆ abs2() [2/2]

f32 cXyz::abs2 ( const Vec other) const
inline

◆ abs2XZ() [1/2]

f32 cXyz::abs2XZ ( ) const
inline

◆ abs2XZ() [2/2]

f32 cXyz::abs2XZ ( const Vec other) const
inline

◆ absXZ() [1/2]

f32 cXyz::absXZ ( ) const
inline

◆ absXZ() [2/2]

f32 cXyz::absXZ ( const Vec other) const
inline

◆ atan2sX_Z() [1/2]

s16 cXyz::atan2sX_Z ( ) const

◆ atan2sX_Z() [2/2]

s16 cXyz::atan2sX_Z ( ) const

◆ atan2sY_XZ() [1/2]

s16 cXyz::atan2sY_XZ ( ) const

◆ atan2sY_XZ() [2/2]

s16 cXyz::atan2sY_XZ ( ) const

◆ getCrossProduct()

cXyz cXyz::getCrossProduct ( Vec const vec) const

◆ getDotProduct()

f32 cXyz::getDotProduct ( const Vec other) const
inline

◆ getMagXZ()

f32 cXyz::getMagXZ ( ) const
inline

◆ getNearZeroValue()

static float cXyz::getNearZeroValue ( )
inlinestatic

◆ getSquareDistance()

f32 cXyz::getSquareDistance ( const Vec other) const
inline

◆ getSquareMag()

float cXyz::getSquareMag ( ) const
inline

◆ getXDiff()

f32 cXyz::getXDiff ( const Vec other) const
inline

◆ getYDiff()

f32 cXyz::getYDiff ( const Vec other) const
inline

◆ getZDiff()

f32 cXyz::getZDiff ( const Vec other) const
inline

◆ inprod()

f32 cXyz::inprod ( const Vec other) const
inline

◆ inprodXZ()

f32 cXyz::inprodXZ ( const Vec other) const
inline

◆ isNearZeroSquare()

bool cXyz::isNearZeroSquare ( ) const
inline

◆ isZero()

bool cXyz::isZero ( ) const

◆ norm()

cXyz cXyz::norm ( ) const

◆ normalize()

cXyz cXyz::normalize ( )

◆ normalizeRS()

bool cXyz::normalizeRS ( )

◆ normalizeZP()

cXyz cXyz::normalizeZP ( )

◆ normZC()

cXyz cXyz::normZC ( ) const

◆ normZP()

cXyz cXyz::normZP ( ) const

◆ operator!=()

bool cXyz::operator!= ( Vec const vec) const

◆ operator*() [1/3]

cXyz cXyz::operator* ( f32  ) const

◆ operator*() [2/3]

cXyz cXyz::operator* ( f32  scale) const

◆ operator*() [3/3]

cXyz cXyz::operator* ( Vec const vec) const

◆ operator*=() [1/2]

void cXyz::operator*= ( const Vec other)
inline

◆ operator*=() [2/2]

void cXyz::operator*= ( f32  scale)
inline

◆ operator+() [1/3]

cXyz cXyz::operator+ ( Vec const ) const

◆ operator+() [2/3]

cXyz cXyz::operator+ ( Vec const vec) const

◆ operator+() [3/3]

void cXyz::operator+ ( Vec const ) const

◆ operator+=() [1/2]

cXyz * cXyz::operator+= ( const Vec other)
inline

◆ operator+=() [2/2]

void cXyz::operator+= ( f32  f)
inline

◆ operator-() [1/4]

cXyz cXyz::operator- ( Vec const ) const

◆ operator-() [2/4]

cXyz cXyz::operator- ( Vec const vec) const

◆ operator-() [3/4]

void cXyz::operator- ( Vec const ) const

◆ operator-() [4/4]

void cXyz::operator- ( Vec const ) const

◆ operator-=() [1/2]

void cXyz::operator-= ( const Vec other)
inline

◆ operator-=() [2/2]

void cXyz::operator-= ( f32  f)
inline

◆ operator/()

cXyz cXyz::operator/ ( f32  scale) const

◆ operator/=()

void cXyz::operator/= ( f32  scale)
inline

◆ operator=()

void cXyz::operator= ( const Vec vec)
inline

◆ operator==()

bool cXyz::operator== ( Vec const vec) const

◆ outprod()

cXyz cXyz::outprod ( Vec const vec) const

◆ set() [1/2]

void cXyz::set ( const Vec other)
inline

◆ set() [2/2]

void cXyz::set ( f32  pX,
f32  pY,
f32  pZ 
)
inline

◆ setall()

void cXyz::setall ( f32  f)
inline

◆ setMax()

void cXyz::setMax ( const cXyz other)
inline

◆ setMin()

void cXyz::setMin ( const cXyz other)
inline

◆ zero()

void cXyz::zero ( )
inline

Member Data Documentation

◆ BaseX

const cXyz cXyz::BaseX
static

◆ BaseXY

const cXyz cXyz::BaseXY
static

◆ BaseXYZ

const cXyz cXyz::BaseXYZ
static

◆ BaseXZ

const cXyz cXyz::BaseXZ
static

◆ BaseY

const cXyz cXyz::BaseY
static

◆ BaseYZ

const cXyz cXyz::BaseYZ
static

◆ BaseZ

const cXyz cXyz::BaseZ
static

◆ Zero

const cXyz cXyz::Zero
static

The documentation for this struct was generated from the following files: