Loading [MathJax]/extensions/tex2jax.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
cSAngle Class Reference

#include <c_angle.h>

+ Collaboration diagram for cSAngle:

Public Member Functions

 cSAngle ()
 
 ~cSAngle ()
 
 cSAngle (const cSAngle &)
 
 cSAngle (s16)
 
 cSAngle (float)
 
s16 Val () const
 
void Val (const cSAngle &)
 
void Val (s16)
 
void Val (float)
 
float Degree (void) const
 
float Radian (void) const
 
float Norm (void) const
 
s16 Abs (void) const
 
s16 Inv (void) const
 
float Sin (void) const
 
float Cos (void) const
 
cSAngle operator- (void) const
 
cSAngle operator+ (const cSAngle &) const
 
cSAngle operator- (const cSAngle &) const
 
void operator+= (const cSAngle &)
 
void operator-= (const cSAngle &)
 
cSAngle operator+ (short) const
 
cSAngle operator- (short) const
 
void operator+= (short)
 
cSAngle operator* (float) const
 
void operator*= (float)
 
bool operator< (const cSAngle &other) const
 
bool operator> (const cSAngle &other) const
 
bool operator<= (const cSAngle &other) const
 
bool operator>= (const cSAngle &other) const
 
 operator s16 (void) const
 
void operator= (const cSAngle &other)
 
void mirrorAtMaxNeg (void)
 

Static Public Member Functions

static cSAngle getMaxNegative (void)
 

Static Public Attributes

static const cSAngle _0
 
static const cSAngle _1
 
static const cSAngle _90
 
static const cSAngle _180
 
static const cSAngle _270
 

Private Attributes

s16 mAngle
 

Constructor & Destructor Documentation

◆ cSAngle() [1/4]

cSAngle::cSAngle ( )
inline

◆ ~cSAngle()

cSAngle::~cSAngle ( )
inline

◆ cSAngle() [2/4]

cSAngle::cSAngle ( const cSAngle & angle)

◆ cSAngle() [3/4]

cSAngle::cSAngle ( s16 angle)

◆ cSAngle() [4/4]

cSAngle::cSAngle ( float angle)

Member Function Documentation

◆ Abs()

s16 cSAngle::Abs ( void ) const

◆ Cos()

f32 cSAngle::Cos ( void ) const

◆ Degree()

f32 cSAngle::Degree ( void ) const

◆ getMaxNegative()

static cSAngle cSAngle::getMaxNegative ( void )
inlinestatic

◆ Inv()

s16 cSAngle::Inv ( void ) const

◆ mirrorAtMaxNeg()

void cSAngle::mirrorAtMaxNeg ( void )
inline

◆ Norm()

f32 cSAngle::Norm ( void ) const

◆ operator s16()

cSAngle::operator s16 ( void ) const
inline

◆ operator*()

cSAngle cSAngle::operator* ( float f1) const

◆ operator*=()

void cSAngle::operator*= ( float f1)

◆ operator+() [1/2]

cSAngle cSAngle::operator+ ( const cSAngle & other) const

◆ operator+() [2/2]

cSAngle cSAngle::operator+ ( short ) const

◆ operator+=() [1/2]

void cSAngle::operator+= ( const cSAngle & other)

◆ operator+=() [2/2]

void cSAngle::operator+= ( short )

◆ operator-() [1/3]

cSAngle cSAngle::operator- ( const cSAngle & other) const

◆ operator-() [2/3]

cSAngle cSAngle::operator- ( short ) const

◆ operator-() [3/3]

cSAngle cSAngle::operator- ( void ) const

◆ operator-=()

void cSAngle::operator-= ( const cSAngle & other)

◆ operator<()

bool cSAngle::operator< ( const cSAngle & other) const
inline

◆ operator<=()

bool cSAngle::operator<= ( const cSAngle & other) const
inline

◆ operator=()

void cSAngle::operator= ( const cSAngle & other)
inline

◆ operator>()

bool cSAngle::operator> ( const cSAngle & other) const
inline

◆ operator>=()

bool cSAngle::operator>= ( const cSAngle & other) const
inline

◆ Radian()

f32 cSAngle::Radian ( void ) const

◆ Sin()

f32 cSAngle::Sin ( void ) const

◆ Val() [1/4]

s16 cSAngle::Val ( ) const
inline

◆ Val() [2/4]

void cSAngle::Val ( const cSAngle & other)

◆ Val() [3/4]

void cSAngle::Val ( float degree)

◆ Val() [4/4]

void cSAngle::Val ( s16 val)

Member Data Documentation

◆ _0

const cSAngle cSAngle::_0
static

◆ _1

const cSAngle cSAngle::_1
static

◆ _180

const cSAngle cSAngle::_180
static

◆ _270

const cSAngle cSAngle::_270
static

◆ _90

const cSAngle cSAngle::_90
static

◆ mAngle

s16 cSAngle::mAngle
private

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