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
JGeometry::TVec3< f32 > Struct Reference

#include <JGeometry.h>

+ Inheritance diagram for JGeometry::TVec3< f32 >:
+ Collaboration diagram for JGeometry::TVec3< f32 >:

Public Member Functions

 TVec3 (const Vec &i_vec)
 
 TVec3 (const TVec3< f32 > &i_vec)
 
template<class U >
 TVec3 (U x, U y, U z)
 
 TVec3 ()
 
 operator Vec * ()
 
 operator const Vec * () const
 
template<class U >
void set (const TVec3< U > &other)
 
void set (const Vec &other)
 
template<class U >
void set (U x_, U y_, U z_)
 
void add (const TVec3< f32 > &b)
 
void zero ()
 
void mul (const TVec3< f32 > &a, const TVec3< f32 > &b)
 
void mul (const TVec3< f32 > &a)
 
TVec3< f32 > & operator= (const Vec &b)
 
TVec3< f32 > & operator= (const TVec3< f32 > &b)
 
TVec3< f32 > & operator+= (const TVec3< f32 > &b)
 
TVec3< f32operator+ (const TVec3< f32 > &b)
 
f32 squared () const
 
f32 normalize ()
 
void normalize (const TVec3< f32 > &other)
 
f32 length () const
 
void scale (register f32 sc)
 
void scale (register f32 sc, const TVec3< f32 > &other)
 
void scaleAdd (register f32 sc, const TVec3< f32 > &a, const TVec3< f32 > &b)
 
void negateInternal (TVec3< f32 > *dst)
 
void negate ()
 
void sub (const TVec3< f32 > &b)
 
void sub (const TVec3< f32 > &a, const TVec3< f32 > &b)
 
bool isZero () const
 
void cross (const TVec3< f32 > &a, const TVec3< f32 > &b)
 
f32 setLength (f32 len)
 
f32 setLength (const TVec3< f32 > &other, f32 len)
 
f32 dot (const TVec3< f32 > &other) const
 
void cubic (const TVec3< f32 > &param_1, const TVec3< f32 > &param_2, const TVec3< f32 > &param_3, const TVec3< f32 > &param_4, f32 param_5)
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ TVec3() [1/4]

JGeometry::TVec3< f32 >::TVec3 ( const Vec & i_vec)
inline

◆ TVec3() [2/4]

JGeometry::TVec3< f32 >::TVec3 ( const TVec3< f32 > & i_vec)
inline

◆ TVec3() [3/4]

template<class U >
JGeometry::TVec3< f32 >::TVec3 ( U x,
U y,
U z )
inline

◆ TVec3() [4/4]

JGeometry::TVec3< f32 >::TVec3 ( )
inline

Member Function Documentation

◆ add()

void JGeometry::TVec3< f32 >::add ( const TVec3< f32 > & b)
inline

◆ cross()

void JGeometry::TVec3< f32 >::cross ( const TVec3< f32 > & a,
const TVec3< f32 > & b )
inline

◆ cubic()

void JGeometry::TVec3< f32 >::cubic ( const TVec3< f32 > & param_1,
const TVec3< f32 > & param_2,
const TVec3< f32 > & param_3,
const TVec3< f32 > & param_4,
f32 param_5 )
inline

◆ dot()

f32 JGeometry::TVec3< f32 >::dot ( const TVec3< f32 > & other) const
inline

◆ isZero()

bool JGeometry::TVec3< f32 >::isZero ( ) const
inline

◆ length()

f32 JGeometry::TVec3< f32 >::length ( ) const
inline

◆ mul() [1/2]

void JGeometry::TVec3< f32 >::mul ( const TVec3< f32 > & a)
inline

◆ mul() [2/2]

void JGeometry::TVec3< f32 >::mul ( const TVec3< f32 > & a,
const TVec3< f32 > & b )
inline

◆ negate()

void JGeometry::TVec3< f32 >::negate ( )
inline

◆ negateInternal()

void JGeometry::TVec3< f32 >::negateInternal ( TVec3< f32 > * dst)
inline

◆ normalize() [1/2]

f32 JGeometry::TVec3< f32 >::normalize ( )
inline

◆ normalize() [2/2]

void JGeometry::TVec3< f32 >::normalize ( const TVec3< f32 > & other)
inline

◆ operator const Vec *()

JGeometry::TVec3< f32 >::operator const Vec * ( ) const
inline

◆ operator Vec *()

JGeometry::TVec3< f32 >::operator Vec * ( )
inline

◆ operator+()

TVec3< f32 > JGeometry::TVec3< f32 >::operator+ ( const TVec3< f32 > & b)
inline

◆ operator+=()

TVec3< f32 > & JGeometry::TVec3< f32 >::operator+= ( const TVec3< f32 > & b)
inline

◆ operator=() [1/2]

TVec3< f32 > & JGeometry::TVec3< f32 >::operator= ( const TVec3< f32 > & b)
inline

◆ operator=() [2/2]

TVec3< f32 > & JGeometry::TVec3< f32 >::operator= ( const Vec & b)
inline

◆ scale() [1/2]

void JGeometry::TVec3< f32 >::scale ( register f32 sc)
inline

◆ scale() [2/2]

void JGeometry::TVec3< f32 >::scale ( register f32 sc,
const TVec3< f32 > & other )
inline

◆ scaleAdd()

void JGeometry::TVec3< f32 >::scaleAdd ( register f32 sc,
const TVec3< f32 > & a,
const TVec3< f32 > & b )
inline

◆ set() [1/3]

template<class U >
void JGeometry::TVec3< f32 >::set ( const TVec3< U > & other)
inline

◆ set() [2/3]

void JGeometry::TVec3< f32 >::set ( const Vec & other)
inline

◆ set() [3/3]

template<class U >
void JGeometry::TVec3< f32 >::set ( U x_,
U y_,
U z_ )
inline

◆ setLength() [1/2]

f32 JGeometry::TVec3< f32 >::setLength ( const TVec3< f32 > & other,
f32 len )
inline

◆ setLength() [2/2]

f32 JGeometry::TVec3< f32 >::setLength ( f32 len)
inline

◆ squared()

f32 JGeometry::TVec3< f32 >::squared ( ) const
inline

◆ sub() [1/2]

void JGeometry::TVec3< f32 >::sub ( const TVec3< f32 > & a,
const TVec3< f32 > & b )
inline

◆ sub() [2/2]

void JGeometry::TVec3< f32 >::sub ( const TVec3< f32 > & b)
inline

◆ zero()

void JGeometry::TVec3< f32 >::zero ( )
inline

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