22#define G_CM3D_F_INF (1000000000.0f)
98 return VECSquareDistance(
a, b);
bool cM3d_Cross_TriTri(const cM3dGTri &, const cM3dGTri &, Vec *)
Definition c_m3d.cpp:1863
static bool cM3d_CrossX_Tri(const cM3dGTri *, const Vec *, f32)
bool cM3d_Cross_LinTri(const cM3dGLin *, const cM3dGTri *, Vec *, bool, bool)
Definition c_m3d.cpp:1000
static bool cM3d_Cross_SphPnt(const cM3dGSph *, const Vec *)
bool cM3d_CrossY_Tri_Front(const Vec &, const Vec &, const Vec &, const Vec *)
Definition c_m3d.cpp:842
bool cM3d_Cross_LinSph(const cM3dGLin *, const cM3dGSph *, Vec *)
Definition c_m3d.cpp:1031
bool cM3d_Cross_CpsCps(const cM3dGCps &, const cM3dGCps &, Vec *)
Definition c_m3d.cpp:1636
const f32 G_CM3D_F_ABS_MIN
Definition c_m3d.cpp:20
bool cM3d_Cross_CpsCyl(const cM3dGCps &, const cM3dGCyl &, Vec *)
Definition c_m3d.cpp:1707
void cM3d_CrawVec(const Vec &, const Vec &, Vec *)
Definition c_m3d.cpp:2136
static bool cM3d_Cross_LinTri_Easy(const cM3dGTri *, const Vec *)
static void cM3d_CalcSphVsTriCrossPoint(const cM3dGSph *, const cM3dGTri *, Vec *)
Definition c_m3d.cpp:1243
static bool cM3d_CrossInfLineVsInfPlane_proc(f32, f32, const Vec *, const Vec *, Vec *)
bool cM3d_UpMtx_Base(const Vec ¶m_1, const Vec ¶m_2, Mtx param_3)
Definition c_m3d.cpp:1988
f32 cM3d_VectorProduct2d(f32, f32, f32, f32, f32, f32)
Definition c_m3d.cpp:100
static void cM3d_PlaneCrossLineProcWork(f32, f32, f32, f32, f32, f32, f32, f32 *, f32 *)
Definition c_m3d.cpp:2028
bool cM3d_Len3dSqPntAndSegLine(const cM3dGLin *, const Vec *, Vec *, f32 *)
Definition c_m3d.cpp:66
static bool cM3d_CrossX_LinTri_proc(const cM3dGTri *, const Vec *)
bool cM3d_Cross_AabCyl(const cM3dGAab *, const cM3dGCyl *)
Definition c_m3d.cpp:158
static int cM3d_Cross_CylPntPnt(const cM3dGCyl *, const Vec *, const Vec *, Vec *, Vec *)
static int cM3d_Check_LinLin(const cM3dGLin *, const cM3dGLin *, f32 *, f32 *)
Definition c_m3d.cpp:201
bool cM3d_IsZero(f32 f)
Definition c_m3d.h:93
bool cM3d_Cross_AabSph(const cM3dGAab *, const cM3dGSph *)
Definition c_m3d.cpp:176
bool cM3d_Cross_SphTri(const cM3dGSph *, const cM3dGTri *, Vec *)
Definition c_m3d.cpp:1256
static bool cM3d_InclusionCheckPosIn3PosBox2d(f32, f32, f32, f32, f32, f32, f32, f32, f32)
static void cM3d_InDivPos1(const Vec *, const Vec *, f32, Vec *)
Definition c_m3d.cpp:22
void cM3d_CalcPla(const Vec *, const Vec *, const Vec *, Vec *, f32 *)
Definition c_m3d.cpp:112
bool cM3d_Cross_CpsTri(const cM3dGCps &, cM3dGTri, Vec *)
Definition c_m3d.cpp:1923
int cM3d_Cross_LinSph_CrossPos(const cM3dGSph &, const cM3dGLin &, Vec *, Vec *)
Definition c_m3d.cpp:1099
bool cM3d_Cross_CylSph(const cM3dGCyl *, const cM3dGSph *, f32 *)
Definition c_m3d.cpp:1143
static bool cM3d_InclusionCheckPosIn3PosBox3d(const Vec *, const Vec *, const Vec *, const Vec *, f32)
Definition c_m3d.cpp:576
f32 cM3d_LenSq(const Vec *a, const Vec *b)
Definition c_m3d.h:97
bool cM3d_Cross_CylCyl(const cM3dGCyl *, const cM3dGCyl *, f32 *)
Definition c_m3d.cpp:1320
bool cM3d_Len2dSqPntAndSegLine(f32, f32, f32, f32, f32, f32, f32 *, f32 *, f32 *)
Definition c_m3d.cpp:44
static int cM3d_2PlaneCrossLine(const cM3dGPla &, const cM3dGPla &, cM3dGLin *)
int cM3d_Cross_CylLin(const cM3dGCyl *, const cM3dGLin *, Vec *, Vec *)
Definition c_m3d.cpp:1442
bool cM3d_UpMtx(const Vec ¶m_1, Mtx param_2)
Definition c_m3d.cpp:2022
f32 cM3d_Len2dSq(f32, f32, f32, f32)
Definition c_m3d.cpp:34
f32 cM3d_SignedLenPlaAndPos(const cM3dGPla *, const Vec *)
Definition c_m3d.cpp:91
bool cM3d_Cross_MinMaxBoxLine(const Vec *, const Vec *, const Vec *, const Vec *)
Definition c_m3d.cpp:409
static bool cM3d_Cross_CylPnt(const cM3dGCyl *, const Vec *)
Definition c_m3d.cpp:1623
void cM3d_CalcVecZAngle(const Vec &, csXyz *)
Definition c_m3d.cpp:1980
bool cM3d_Cross_SphSph(const cM3dGSph *, const cM3dGSph *, f32 *)
Definition c_m3d.cpp:1196
static void cM3d_Cross_CpsSph_CrossPos(const cM3dGCps &, const cM3dGSph &, const Vec &, Vec *)
int cM3d_2PlaneLinePosNearPos(const cM3dGPla &, const cM3dGPla &, const Vec *, Vec *)
Definition c_m3d.cpp:2125
void cM3d_VectorProduct(const cXyz *, const cXyz *, const cXyz *, cXyz *)
Definition c_m3d.cpp:104
bool cM3d_Cross_CpsSph(const cM3dGCps &, const cM3dGSph &, Vec *)
Definition c_m3d.cpp:1842
bool cM3d_Cross_CylTri(const cM3dGCyl *, const cM3dGTri *, Vec *)
Definition c_m3d.cpp:1380
void cM3d_CalcVecAngle(const Vec &, short *, short *)
bool cM3d_Cross_AabAab(const cM3dGAab *, const cM3dGAab *)
Definition c_m3d.cpp:144
static bool cM3d_CrossY_LinTri_proc(const cM3dGTri *, const Vec *)
static bool cM3d_CrossZ_Tri(const cM3dGTri *, const Vec *, f32)
void cM3d_InDivPos2(const Vec *, const Vec *, f32, Vec *)
Definition c_m3d.cpp:28
BOOL cM3d_3PlaneCrossPos(const cM3dGPla &, const cM3dGPla &, const cM3dGPla &, Vec *)
Definition c_m3d.cpp:2070
f32 cM3d_lineVsPosSuisenCross(const cM3dGLin *, const Vec *, Vec *)
Definition c_m3d.cpp:2087
bool cM3d_Cross_LinPla(const cM3dGLin *, const cM3dGPla *, Vec *, bool, bool)
Definition c_m3d.cpp:264
static bool cM3d_CrossZ_LinTri_proc(const cM3dGTri *, const Vec *)
bool cM3d_CrossY_Tri(const cM3dGTri *, const Vec *)
Definition c_m3d.cpp:758
Definition c_m3d_g_aab.h:9
Definition c_m3d_g_cps.h:13
Definition c_m3d_g_cyl.h:16
Definition c_m3d_g_lin.h:8
Definition c_m3d_g_pla.h:8
Definition c_m3d_g_sph.h:15
Definition c_m3d_g_tri.h:14
f32 Mtx[3][4]
Definition mtx.h:25
float fabsf(float x)
Definition sdk_math.h:44
int BOOL
Definition types.h:33
float f32
Definition types.h:25
f32 mMax
Definition c_m3d.h:19
f32 mMin
Definition c_m3d.h:18