Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
c_m3d.cpp File Reference

Functions

void cM3d_InDivPos1 (const Vec *pVecA, const Vec *pVecB, f32 pF, Vec *pOut)
 
void cM3d_InDivPos2 (const Vec *pVecA, const Vec *pVecB, f32 pF, Vec *pOut)
 
f32 cM3d_Len2dSq (f32 pX1, f32 pY1, f32 pX2, f32 pY2)
 
static f32 dummy (f32 x)
 
bool cM3d_Len2dSqPntAndSegLine (f32 param_1, f32 param_2, f32 param_3, f32 param_4, f32 p5, f32 p6, f32 *param_7, f32 *param_8, f32 *param_9)
 
bool cM3d_Len3dSqPntAndSegLine (const cM3dGLin *pLine, const Vec *pVec, Vec *pOutVec, f32 *pOutF)
 
f32 cM3d_SignedLenPlaAndPos (const cM3dGPla *pPlane, const Vec *pPosition)
 
f32 cM3d_VectorProduct2d (f32 pX1, f32 pY1, f32 pX2, f32 pY2, f32 pX3, f32 pY3)
 
void cM3d_VectorProduct (const cXyz *pVecA, const cXyz *pVecB, const cXyz *pVecC, cXyz *pVecOut)
 
void cM3d_CalcPla (const Vec *pVecA, const Vec *pVecB, const Vec *pVecC, Vec *pVecOut, f32 *pD)
 
bool cM3d_CrossNumSection (f32 lMinX, f32 lMaxX, f32 rMinX, f32 rMaxX)
 
bool cM3d_Cross_AabAab (const cM3dGAab *pAabA, const cM3dGAab *pAabB)
 
bool cM3d_Cross_AabCyl (const cM3dGAab *pAab, const cM3dGCyl *pCyl)
 
bool cM3d_Cross_AabSph (const cM3dGAab *pAab, const cM3dGSph *pSph)
 
int cM3d_Check_LinLin (const cM3dGLin *lin_a, const cM3dGLin *lin_b, f32 *dst_a, f32 *dst_b)
 
static bool cM3d_CrossInfLineVsInfPlane_proc (f32 pFloatA, f32 pFloatB, const Vec *pVecA, const Vec *pVecB, Vec *pVecOut)
 
bool cM3d_Cross_LinPla (const cM3dGLin *lin, const cM3dGPla *pla, Vec *dst, bool a, bool b)
 
u32 cM3d_CheckBoxEdgePlane_Bevel2DCheck (Vec const *param_0, Vec const *param_1, Vec const *param_2)
 
u32 cM3d_CheckBoxEdgePlane_Bevel3DCheck (Vec const *param_0, Vec const *param_1, Vec const *param_2)
 
bool cM3d_Cross_MinMaxBoxLine (Vec const *param_0, Vec const *param_1, Vec const *param_2, Vec const *param_3)
 
bool cM3d_InclusionCheckPosIn3PosBox3d (const Vec *pVecA, const Vec *pVecB, const Vec *pVecC, const Vec *pVecD, f32 pF)
 
static bool cM3d_InclusionCheckPosIn3PosBox2d (f32 param_1, f32 param_2, f32 param_3, f32 param_4, f32 param_5, f32 param_6, f32 param_7, f32 param_8, f32 param_9)
 
static bool cM3d_CrossX_Tri (cM3dGTri const *tri, Vec const *vec, f32 param_2)
 
static bool cM3d_CrossX_Tri (cM3dGTri const *tri, Vec const *vec)
 
static bool cM3d_CrossX_LinTri_proc (cM3dGTri const *tri, Vec const *vec)
 
bool cM3d_CrossY_Tri (cM3dGTri const *tri, Vec const *vec)
 
static bool cM3d_CrossY_LinTri_proc (cM3dGTri const *tri, Vec const *vec)
 
bool cM3d_CrossY_Tri (Vec const &a, Vec const &b, Vec const &c, cM3dGPla const &plane, Vec const *vec)
 
bool cM3d_CrossY_Tri_Front (Vec const &a, Vec const &b, Vec const &c, Vec const *vec)
 
static bool cM3d_CrossY_Tri (cM3dGTri const *tri, Vec const *vec, f32 *param_2)
 
static bool cM3d_CrossY_Tri (cM3dGTri const *tri, Vec const *vec, f32 param_2)
 
static bool cM3d_CrossY_Tri (cM3dGTri const *tri, Vec const *vec, cM3d_Range const *range, f32 *param_3)
 
static bool cM3d_CrossZ_Tri (cM3dGTri const *tri, Vec const *vec, f32 param_2)
 
static bool cM3d_CrossZ_Tri (cM3dGTri const *tri, Vec const *vec)
 
static bool cM3d_CrossZ_LinTri_proc (cM3dGTri const *tri, Vec const *vec)
 
bool cM3d_Cross_LinTri (cM3dGLin const *line, cM3dGTri const *tri, Vec *vec, bool param_3, bool param_4)
 
static bool cM3d_Cross_LinTri_Easy (cM3dGTri const *tri, Vec const *vec)
 
static bool cM3d_Cross_SphPnt (cM3dGSph const *sph, Vec const *point)
 
bool cM3d_Cross_LinSph (cM3dGLin const *line, cM3dGSph const *sph, Vec *param_2)
 
int cM3d_Cross_LinSph_CrossPos (cM3dGSph const &sph, cM3dGLin const &line, Vec *param_2, Vec *param_3)
 
bool cM3d_Cross_CylSph (cM3dGCyl const *cyl, cM3dGSph const *sph, f32 *param_2)
 
bool cM3d_Cross_CylSph (cM3dGCyl const *cyl, cM3dGSph const *sph, Vec *param_2, f32 *param_3)
 
bool cM3d_Cross_SphSph (cM3dGSph const *sph1, cM3dGSph const *sph2, f32 *param_2)
 
static bool cM3d_Cross_SphSph (cM3dGSph const *sph1, cM3dGSph const *sph2, f32 *param_2, f32 *param_3)
 
bool cM3d_Cross_SphSph (const cM3dGSph *pSphereA, const cM3dGSph *pSphereB, Vec *pVecOut)
 
void cM3d_CalcSphVsTriCrossPoint (const cM3dGSph *pSphere, const cM3dGTri *pTriangle, Vec *pVecOut)
 
bool cM3d_Cross_SphTri (cM3dGSph const *sph, cM3dGTri const *tri, Vec *param_2)
 
bool cM3d_Cross_CylCyl (cM3dGCyl const *cyl1, cM3dGCyl const *cyl2, f32 *param_2)
 
bool cM3d_Cross_CylCyl (cM3dGCyl const *cyl1, cM3dGCyl const *cyl2, Vec *param_2)
 
bool cM3d_Cross_CylTri (cM3dGCyl const *cyl, cM3dGTri const *tri, Vec *param_2)
 
int cM3d_Cross_CylLin (cM3dGCyl const *cyl, cM3dGLin const *line, Vec *param_2, Vec *param_3)
 
static int cM3d_Cross_CylPntPnt (const cM3dGCyl *pCylinder, const Vec *pVecStart, const Vec *pVecEnd, Vec *pVecOutA, Vec *pVecOutB)
 
bool cM3d_Cross_CylPnt (const cM3dGCyl *pCylinder, const Vec *pPoint)
 
bool cM3d_Cross_CpsCps (cM3dGCps const &cps1, cM3dGCps const &cps2, Vec *param_2)
 
bool cM3d_Cross_CpsCyl_Check (cM3dGCps const &cps, cM3dGCyl const &cyl, Vec &pos1, Vec &pos2, Vec *param_4)
 
bool cM3d_Cross_CpsCyl (cM3dGCps const &cps, cM3dGCyl const &cyl, Vec *param_2)
 
static void cM3d_Cross_CpsSph_CrossPos (cM3dGCps const &param_1, cM3dGSph const &param_2, Vec const &param_3, Vec *param_4)
 
bool cM3d_Cross_CpsSph (cM3dGCps const &param_1, cM3dGSph const &param_2, Vec *param_3)
 
bool cM3d_Cross_TriTri (cM3dGTri const &tri1, cM3dGTri const &tri2, Vec *param_2)
 
f32 cM3d_2LinCenter (cM3dGLin const &pLinA, f32 pLinAF, cM3dGLin const &pLinB, f32 pLinBF, Vec *pVecOut)
 
bool cM3d_Cross_CpsTri (cM3dGCps const &cps, cM3dGTri tri, Vec *param_2)
 
void cM3d_CalcVecAngle (const Vec &pVec, s16 *pOutA, s16 *pOutB)
 
void cM3d_CalcVecZAngle (Vec const &param_0, csXyz *param_1)
 
void cM3d_PlaneCrossLineProcWork (f32 f1, f32 f2, f32 f3, f32 f4, f32 f5, f32 f6, f32 f7, f32 *pF1, f32 *pF2)
 
static int cM3d_2PlaneCrossLine (const cM3dGPla &pPlaneA, const cM3dGPla &pPlaneB, cM3dGLin *pLinOut)
 
BOOL cM3d_3PlaneCrossPos (const cM3dGPla &pPlaneA, const cM3dGPla &pPlaneB, const cM3dGPla &pPlaneC, Vec *pVecOut)
 
f32 cM3d_lineVsPosSuisenCross (const cM3dGLin *pLine, const Vec *pPoint, Vec *pVecOut)
 
f32 cM3d_lineVsPosSuisenCross (const Vec &pLinePointA, const Vec &pLinePointB, const Vec &pPoint, Vec *pVecOut)
 
int cM3d_2PlaneLinePosNearPos (const cM3dGPla &pPlaneA, const cM3dGPla &pPlaneB, const Vec *pVec, Vec *pVecOut)
 
void cM3d_CrawVec (const Vec &pVecA, const Vec &pVecB, Vec *pVecOut)
 

Variables

const f32 G_CM3D_F_ABS_MIN = 32 * FLT_EPSILON
 
static u32 const BPCP_OUTCODE0 = 0x00000001
 
static u32 const BPCP_OUTCODE1 = 0x00000002
 
static u32 const BPCP_OUTCODE4 = 0x00000010
 
static u32 const BPCP_OUTCODE5 = 0x00000020
 
static u32 const BPCP_OUTCODE2 = 0x00000004
 
static u32 const BPCP_OUTCODE3 = 0x00000008
 
static u32 const BEVEL2D_OUTCODE0 = 0x00000001
 
static u32 const BEVEL2D_OUTCODE1 = 0x00000002
 
static u32 const BEVEL2D_OUTCODE2 = 0x00000004
 
static u32 const BEVEL2D_OUTCODE3 = 0x00000008
 
static u32 const BEVEL2D_OUTCODE4 = 0x00000010
 
static u32 const BEVEL2D_OUTCODE5 = 0x00000020
 
static u32 const BEVEL2D_OUTCODE6 = 0x00000040
 
static u32 const BEVEL2D_OUTCODE7 = 0x00000080
 
static u32 const BEVEL2D_OUTCODE8 = 0x00000100
 
static u32 const BEVEL2D_OUTCODE9 = 0x00000200
 
static u32 const BEVEL2D_OUTCODE10 = 0x00000400
 
static u32 const BEVEL2D_OUTCODE11 = 0x00000800
 
static u32 const BEVEL3D_OUTCODE0 = 0x00000001
 
static u32 const BEVEL3D_OUTCODE1 = 0x00000002
 
static u32 const BEVEL3D_OUTCODE2 = 0x00000004
 
static u32 const BEVEL3D_OUTCODE3 = 0x00000008
 
static u32 const BEVEL3D_OUTCODE4 = 0x00000010
 
static u32 const BEVEL3D_OUTCODE5 = 0x00000020
 
static u32 const BEVEL3D_OUTCODE6 = 0x00000040
 
static u32 const BEVEL3D_OUTCODE7 = 0x00000080
 

Function Documentation

◆ cM3d_2LinCenter()

f32 cM3d_2LinCenter ( cM3dGLin const & pLinA,
f32 pLinAF,
cM3dGLin const & pLinB,
f32 pLinBF,
Vec * pVecOut )
inline

◆ cM3d_2PlaneCrossLine()

static int cM3d_2PlaneCrossLine ( const cM3dGPla & pPlaneA,
const cM3dGPla & pPlaneB,
cM3dGLin * pLinOut )
static

◆ cM3d_2PlaneLinePosNearPos()

int cM3d_2PlaneLinePosNearPos ( const cM3dGPla & pPlaneA,
const cM3dGPla & pPlaneB,
const Vec * pVec,
Vec * pVecOut )

◆ cM3d_3PlaneCrossPos()

BOOL cM3d_3PlaneCrossPos ( const cM3dGPla & pPlaneA,
const cM3dGPla & pPlaneB,
const cM3dGPla & pPlaneC,
Vec * pVecOut )

◆ cM3d_CalcPla()

void cM3d_CalcPla ( const Vec * pVecA,
const Vec * pVecB,
const Vec * pVecC,
Vec * pVecOut,
f32 * pD )

◆ cM3d_CalcSphVsTriCrossPoint()

void cM3d_CalcSphVsTriCrossPoint ( const cM3dGSph * pSphere,
const cM3dGTri * pTriangle,
Vec * pVecOut )

◆ cM3d_CalcVecAngle()

void cM3d_CalcVecAngle ( const Vec & pVec,
s16 * pOutA,
s16 * pOutB )

◆ cM3d_CalcVecZAngle()

void cM3d_CalcVecZAngle ( Vec const & param_0,
csXyz * param_1 )

◆ cM3d_Check_LinLin()

int cM3d_Check_LinLin ( const cM3dGLin * lin_a,
const cM3dGLin * lin_b,
f32 * dst_a,
f32 * dst_b )

◆ cM3d_CheckBoxEdgePlane_Bevel2DCheck()

u32 cM3d_CheckBoxEdgePlane_Bevel2DCheck ( Vec const * param_0,
Vec const * param_1,
Vec const * param_2 )
inline

◆ cM3d_CheckBoxEdgePlane_Bevel3DCheck()

u32 cM3d_CheckBoxEdgePlane_Bevel3DCheck ( Vec const * param_0,
Vec const * param_1,
Vec const * param_2 )
inline

◆ cM3d_CrawVec()

void cM3d_CrawVec ( const Vec & pVecA,
const Vec & pVecB,
Vec * pVecOut )

◆ cM3d_Cross_AabAab()

bool cM3d_Cross_AabAab ( const cM3dGAab * pAabA,
const cM3dGAab * pAabB )

◆ cM3d_Cross_AabCyl()

bool cM3d_Cross_AabCyl ( const cM3dGAab * pAab,
const cM3dGCyl * pCyl )

◆ cM3d_Cross_AabSph()

bool cM3d_Cross_AabSph ( const cM3dGAab * pAab,
const cM3dGSph * pSph )

◆ cM3d_Cross_CpsCps()

bool cM3d_Cross_CpsCps ( cM3dGCps const & cps1,
cM3dGCps const & cps2,
Vec * param_2 )

◆ cM3d_Cross_CpsCyl()

bool cM3d_Cross_CpsCyl ( cM3dGCps const & cps,
cM3dGCyl const & cyl,
Vec * param_2 )

◆ cM3d_Cross_CpsCyl_Check()

bool cM3d_Cross_CpsCyl_Check ( cM3dGCps const & cps,
cM3dGCyl const & cyl,
Vec & pos1,
Vec & pos2,
Vec * param_4 )
inline

◆ cM3d_Cross_CpsSph()

bool cM3d_Cross_CpsSph ( cM3dGCps const & param_1,
cM3dGSph const & param_2,
Vec * param_3 )

◆ cM3d_Cross_CpsSph_CrossPos()

static void cM3d_Cross_CpsSph_CrossPos ( cM3dGCps const & param_1,
cM3dGSph const & param_2,
Vec const & param_3,
Vec * param_4 )
static

◆ cM3d_Cross_CpsTri()

bool cM3d_Cross_CpsTri ( cM3dGCps const & cps,
cM3dGTri tri,
Vec * param_2 )

◆ cM3d_Cross_CylCyl() [1/2]

bool cM3d_Cross_CylCyl ( cM3dGCyl const * cyl1,
cM3dGCyl const * cyl2,
f32 * param_2 )

◆ cM3d_Cross_CylCyl() [2/2]

bool cM3d_Cross_CylCyl ( cM3dGCyl const * cyl1,
cM3dGCyl const * cyl2,
Vec * param_2 )

◆ cM3d_Cross_CylLin()

int cM3d_Cross_CylLin ( cM3dGCyl const * cyl,
cM3dGLin const * line,
Vec * param_2,
Vec * param_3 )

◆ cM3d_Cross_CylPnt()

bool cM3d_Cross_CylPnt ( const cM3dGCyl * pCylinder,
const Vec * pPoint )

◆ cM3d_Cross_CylPntPnt()

static int cM3d_Cross_CylPntPnt ( const cM3dGCyl * pCylinder,
const Vec * pVecStart,
const Vec * pVecEnd,
Vec * pVecOutA,
Vec * pVecOutB )
static

◆ cM3d_Cross_CylSph() [1/2]

bool cM3d_Cross_CylSph ( cM3dGCyl const * cyl,
cM3dGSph const * sph,
f32 * param_2 )

◆ cM3d_Cross_CylSph() [2/2]

bool cM3d_Cross_CylSph ( cM3dGCyl const * cyl,
cM3dGSph const * sph,
Vec * param_2,
f32 * param_3 )

◆ cM3d_Cross_CylTri()

bool cM3d_Cross_CylTri ( cM3dGCyl const * cyl,
cM3dGTri const * tri,
Vec * param_2 )

◆ cM3d_Cross_LinPla()

bool cM3d_Cross_LinPla ( const cM3dGLin * lin,
const cM3dGPla * pla,
Vec * dst,
bool a,
bool b )

◆ cM3d_Cross_LinSph()

bool cM3d_Cross_LinSph ( cM3dGLin const * line,
cM3dGSph const * sph,
Vec * param_2 )

◆ cM3d_Cross_LinSph_CrossPos()

int cM3d_Cross_LinSph_CrossPos ( cM3dGSph const & sph,
cM3dGLin const & line,
Vec * param_2,
Vec * param_3 )

◆ cM3d_Cross_LinTri()

bool cM3d_Cross_LinTri ( cM3dGLin const * line,
cM3dGTri const * tri,
Vec * vec,
bool param_3,
bool param_4 )

◆ cM3d_Cross_LinTri_Easy()

static bool cM3d_Cross_LinTri_Easy ( cM3dGTri const * tri,
Vec const * vec )
static

◆ cM3d_Cross_MinMaxBoxLine()

bool cM3d_Cross_MinMaxBoxLine ( Vec const * param_0,
Vec const * param_1,
Vec const * param_2,
Vec const * param_3 )

◆ cM3d_Cross_SphPnt()

static bool cM3d_Cross_SphPnt ( cM3dGSph const * sph,
Vec const * point )
static

◆ cM3d_Cross_SphSph() [1/3]

bool cM3d_Cross_SphSph ( cM3dGSph const * sph1,
cM3dGSph const * sph2,
f32 * param_2 )

◆ cM3d_Cross_SphSph() [2/3]

static bool cM3d_Cross_SphSph ( cM3dGSph const * sph1,
cM3dGSph const * sph2,
f32 * param_2,
f32 * param_3 )
static

◆ cM3d_Cross_SphSph() [3/3]

bool cM3d_Cross_SphSph ( const cM3dGSph * pSphereA,
const cM3dGSph * pSphereB,
Vec * pVecOut )

◆ cM3d_Cross_SphTri()

bool cM3d_Cross_SphTri ( cM3dGSph const * sph,
cM3dGTri const * tri,
Vec * param_2 )

◆ cM3d_Cross_TriTri()

bool cM3d_Cross_TriTri ( cM3dGTri const & tri1,
cM3dGTri const & tri2,
Vec * param_2 )

◆ cM3d_CrossInfLineVsInfPlane_proc()

static bool cM3d_CrossInfLineVsInfPlane_proc ( f32 pFloatA,
f32 pFloatB,
const Vec * pVecA,
const Vec * pVecB,
Vec * pVecOut )
static

◆ cM3d_CrossNumSection()

bool cM3d_CrossNumSection ( f32 lMinX,
f32 lMaxX,
f32 rMinX,
f32 rMaxX )
inline

◆ cM3d_CrossX_LinTri_proc()

static bool cM3d_CrossX_LinTri_proc ( cM3dGTri const * tri,
Vec const * vec )
static

◆ cM3d_CrossX_Tri() [1/2]

static bool cM3d_CrossX_Tri ( cM3dGTri const * tri,
Vec const * vec )
static

◆ cM3d_CrossX_Tri() [2/2]

static bool cM3d_CrossX_Tri ( cM3dGTri const * tri,
Vec const * vec,
f32 param_2 )
static

◆ cM3d_CrossY_LinTri_proc()

static bool cM3d_CrossY_LinTri_proc ( cM3dGTri const * tri,
Vec const * vec )
static

◆ cM3d_CrossY_Tri() [1/5]

bool cM3d_CrossY_Tri ( cM3dGTri const * tri,
Vec const * vec )

◆ cM3d_CrossY_Tri() [2/5]

static bool cM3d_CrossY_Tri ( cM3dGTri const * tri,
Vec const * vec,
cM3d_Range const * range,
f32 * param_3 )
static

◆ cM3d_CrossY_Tri() [3/5]

static bool cM3d_CrossY_Tri ( cM3dGTri const * tri,
Vec const * vec,
f32 * param_2 )
static

◆ cM3d_CrossY_Tri() [4/5]

static bool cM3d_CrossY_Tri ( cM3dGTri const * tri,
Vec const * vec,
f32 param_2 )
static

◆ cM3d_CrossY_Tri() [5/5]

bool cM3d_CrossY_Tri ( Vec const & a,
Vec const & b,
Vec const & c,
cM3dGPla const & plane,
Vec const * vec )

◆ cM3d_CrossY_Tri_Front()

bool cM3d_CrossY_Tri_Front ( Vec const & a,
Vec const & b,
Vec const & c,
Vec const * vec )

◆ cM3d_CrossZ_LinTri_proc()

static bool cM3d_CrossZ_LinTri_proc ( cM3dGTri const * tri,
Vec const * vec )
static

◆ cM3d_CrossZ_Tri() [1/2]

static bool cM3d_CrossZ_Tri ( cM3dGTri const * tri,
Vec const * vec )
static

◆ cM3d_CrossZ_Tri() [2/2]

static bool cM3d_CrossZ_Tri ( cM3dGTri const * tri,
Vec const * vec,
f32 param_2 )
static

◆ cM3d_InclusionCheckPosIn3PosBox2d()

static bool cM3d_InclusionCheckPosIn3PosBox2d ( f32 param_1,
f32 param_2,
f32 param_3,
f32 param_4,
f32 param_5,
f32 param_6,
f32 param_7,
f32 param_8,
f32 param_9 )
static

◆ cM3d_InclusionCheckPosIn3PosBox3d()

bool cM3d_InclusionCheckPosIn3PosBox3d ( const Vec * pVecA,
const Vec * pVecB,
const Vec * pVecC,
const Vec * pVecD,
f32 pF )

◆ cM3d_InDivPos1()

void cM3d_InDivPos1 ( const Vec * pVecA,
const Vec * pVecB,
f32 pF,
Vec * pOut )

◆ cM3d_InDivPos2()

void cM3d_InDivPos2 ( const Vec * pVecA,
const Vec * pVecB,
f32 pF,
Vec * pOut )

◆ cM3d_Len2dSq()

f32 cM3d_Len2dSq ( f32 pX1,
f32 pY1,
f32 pX2,
f32 pY2 )

◆ cM3d_Len2dSqPntAndSegLine()

bool cM3d_Len2dSqPntAndSegLine ( f32 param_1,
f32 param_2,
f32 param_3,
f32 param_4,
f32 p5,
f32 p6,
f32 * param_7,
f32 * param_8,
f32 * param_9 )

◆ cM3d_Len3dSqPntAndSegLine()

bool cM3d_Len3dSqPntAndSegLine ( const cM3dGLin * pLine,
const Vec * pVec,
Vec * pOutVec,
f32 * pOutF )

◆ cM3d_lineVsPosSuisenCross() [1/2]

f32 cM3d_lineVsPosSuisenCross ( const cM3dGLin * pLine,
const Vec * pPoint,
Vec * pVecOut )

◆ cM3d_lineVsPosSuisenCross() [2/2]

f32 cM3d_lineVsPosSuisenCross ( const Vec & pLinePointA,
const Vec & pLinePointB,
const Vec & pPoint,
Vec * pVecOut )

◆ cM3d_PlaneCrossLineProcWork()

void cM3d_PlaneCrossLineProcWork ( f32 f1,
f32 f2,
f32 f3,
f32 f4,
f32 f5,
f32 f6,
f32 f7,
f32 * pF1,
f32 * pF2 )

◆ cM3d_SignedLenPlaAndPos()

f32 cM3d_SignedLenPlaAndPos ( const cM3dGPla * pPlane,
const Vec * pPosition )

◆ cM3d_VectorProduct()

void cM3d_VectorProduct ( const cXyz * pVecA,
const cXyz * pVecB,
const cXyz * pVecC,
cXyz * pVecOut )

◆ cM3d_VectorProduct2d()

f32 cM3d_VectorProduct2d ( f32 pX1,
f32 pY1,
f32 pX2,
f32 pY2,
f32 pX3,
f32 pY3 )

◆ dummy()

static f32 dummy ( f32 x)
static

Variable Documentation

◆ BEVEL2D_OUTCODE0

u32 const BEVEL2D_OUTCODE0 = 0x00000001
static

◆ BEVEL2D_OUTCODE1

u32 const BEVEL2D_OUTCODE1 = 0x00000002
static

◆ BEVEL2D_OUTCODE10

u32 const BEVEL2D_OUTCODE10 = 0x00000400
static

◆ BEVEL2D_OUTCODE11

u32 const BEVEL2D_OUTCODE11 = 0x00000800
static

◆ BEVEL2D_OUTCODE2

u32 const BEVEL2D_OUTCODE2 = 0x00000004
static

◆ BEVEL2D_OUTCODE3

u32 const BEVEL2D_OUTCODE3 = 0x00000008
static

◆ BEVEL2D_OUTCODE4

u32 const BEVEL2D_OUTCODE4 = 0x00000010
static

◆ BEVEL2D_OUTCODE5

u32 const BEVEL2D_OUTCODE5 = 0x00000020
static

◆ BEVEL2D_OUTCODE6

u32 const BEVEL2D_OUTCODE6 = 0x00000040
static

◆ BEVEL2D_OUTCODE7

u32 const BEVEL2D_OUTCODE7 = 0x00000080
static

◆ BEVEL2D_OUTCODE8

u32 const BEVEL2D_OUTCODE8 = 0x00000100
static

◆ BEVEL2D_OUTCODE9

u32 const BEVEL2D_OUTCODE9 = 0x00000200
static

◆ BEVEL3D_OUTCODE0

u32 const BEVEL3D_OUTCODE0 = 0x00000001
static

◆ BEVEL3D_OUTCODE1

u32 const BEVEL3D_OUTCODE1 = 0x00000002
static

◆ BEVEL3D_OUTCODE2

u32 const BEVEL3D_OUTCODE2 = 0x00000004
static

◆ BEVEL3D_OUTCODE3

u32 const BEVEL3D_OUTCODE3 = 0x00000008
static

◆ BEVEL3D_OUTCODE4

u32 const BEVEL3D_OUTCODE4 = 0x00000010
static

◆ BEVEL3D_OUTCODE5

u32 const BEVEL3D_OUTCODE5 = 0x00000020
static

◆ BEVEL3D_OUTCODE6

u32 const BEVEL3D_OUTCODE6 = 0x00000040
static

◆ BEVEL3D_OUTCODE7

u32 const BEVEL3D_OUTCODE7 = 0x00000080
static

◆ BPCP_OUTCODE0

u32 const BPCP_OUTCODE0 = 0x00000001
static

◆ BPCP_OUTCODE1

u32 const BPCP_OUTCODE1 = 0x00000002
static

◆ BPCP_OUTCODE2

u32 const BPCP_OUTCODE2 = 0x00000004
static

◆ BPCP_OUTCODE3

u32 const BPCP_OUTCODE3 = 0x00000008
static

◆ BPCP_OUTCODE4

u32 const BPCP_OUTCODE4 = 0x00000010
static

◆ BPCP_OUTCODE5

u32 const BPCP_OUTCODE5 = 0x00000020
static

◆ G_CM3D_F_ABS_MIN

const f32 G_CM3D_F_ABS_MIN = 32 * FLT_EPSILON