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

#include <c_m3d_g_tri.h>

+ Inheritance diagram for cM3dGTri:
+ Collaboration diagram for cM3dGTri:

Public Member Functions

 cM3dGTri ()
 
virtual ~cM3dGTri ()
 
bool cross (const cM3dGCyl *, Vec *) const
 
void setPos (const Vec *, const Vec *, const Vec *)
 
void setBg (const Vec *, const Vec *, const Vec *, const cM3dGPla *)
 
void set (const Vec *, const Vec *, const Vec *, const Vec *)
 
bool Cross (cM3dGCps const &cps, cXyz *xyz) const
 
bool Cross (cM3dGCyl const &cyl, cXyz *xyz) const
 
bool Cross (cM3dGSph const &sph, cXyz *xyz) const
 
bool Cross (cM3dGTri const &other, cXyz *xyz) const
 
bool cross (const cM3dGLin *lin, Vec *xyz, bool param_2, bool param_3) const
 
void setUp ()
 
- Public Member Functions inherited from cM3dGPla
 ~cM3dGPla ()
 
 cM3dGPla ()
 
 cM3dGPla (const cXyz *, f32)
 
bool crossInfLin (const cXyz &, const cXyz &, cXyz &) const
 
void SetupNP0 (const Vec &, const Vec &)
 
void SetupNP (const Vec &, const Vec &)
 
bool getCrossY (const cXyz &, f32 *) const
 
bool getCrossYLessD (const Vec &, f32 *) const
 
void Set (const cM3dGPla *)
 
virtual ~cM3dGPla ()
 
f32 getPlaneFunc (const Vec *pPoint) const
 
cXyzGetNP ()
 
const cXyzGetNP () const
 
f32 GetD () const
 
void SetupFrom3Vtx (const Vec *v1, const Vec *v2, const Vec *v3)
 
f32 getCrossY_NonIsZero (const cXyz *param_1)
 
bool cross (cM3dGLin const &line, Vec &point)
 
f32 getSignedLenPos (const cXyz *param_0) const
 

Public Attributes

Vec mA
 
Vec mB
 
Vec mC
 
- Public Attributes inherited from cM3dGPla
cXyz mNormal
 
f32 mD
 

Constructor & Destructor Documentation

◆ cM3dGTri()

cM3dGTri::cM3dGTri ( )
inline

◆ ~cM3dGTri()

virtual cM3dGTri::~cM3dGTri ( )
inlinevirtual

Member Function Documentation

◆ Cross() [1/4]

bool cM3dGTri::Cross ( cM3dGCps const & cps,
cXyz * xyz ) const
inline

◆ Cross() [2/4]

bool cM3dGTri::Cross ( cM3dGCyl const & cyl,
cXyz * xyz ) const
inline

◆ Cross() [3/4]

bool cM3dGTri::Cross ( cM3dGSph const & sph,
cXyz * xyz ) const
inline

◆ Cross() [4/4]

bool cM3dGTri::Cross ( cM3dGTri const & other,
cXyz * xyz ) const
inline

◆ cross() [1/2]

bool cM3dGTri::cross ( const cM3dGCyl * cyl,
Vec * out ) const

◆ cross() [2/2]

bool cM3dGTri::cross ( const cM3dGLin * lin,
Vec * xyz,
bool param_2,
bool param_3 ) const
inline

◆ set()

void cM3dGTri::set ( const Vec * vtx_a,
const Vec * vtx_b,
const Vec * vtx_c,
const Vec * normal )

◆ setBg()

void cM3dGTri::setBg ( const Vec * vtx_a,
const Vec * vtx_b,
const Vec * vtx_c,
const cM3dGPla * plane )

◆ setPos()

void cM3dGTri::setPos ( const Vec * vtx_a,
const Vec * vtx_b,
const Vec * vtx_c )

◆ setUp()

void cM3dGTri::setUp ( )
inline

Member Data Documentation

◆ mA

Vec cM3dGTri::mA

◆ mB

Vec cM3dGTri::mB

◆ mC

Vec cM3dGTri::mC

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