Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
c_m3d_g_tri.h
Go to the documentation of this file.
1#ifndef C_M3D_G_TRI_H_
2#define C_M3D_G_TRI_H_
3
5
6class cM3dGCyl;
7
8struct cM3dGTriS {
12};
13
14class cM3dGTri : public cM3dGPla {
15 // private:
16public:
17 // cM3dGPla mPlane;
21
23 virtual ~cM3dGTri() {}
24 bool cross(const cM3dGCyl*, Vec*) const;
25 void setPos(const Vec*, const Vec*, const Vec*);
26 void setBg(const Vec*, const Vec*, const Vec*, const cM3dGPla*);
27 void set(const Vec*, const Vec*, const Vec*, const Vec*);
28 bool Cross(cM3dGCps const& cps, cXyz* xyz) const { return cM3d_Cross_CpsTri(cps, *this, xyz); }
29 bool Cross(cM3dGCyl const& cyl, cXyz* xyz) const { return this->cross(&cyl, xyz); }
30 bool Cross(cM3dGSph const& sph, cXyz* xyz) const { return cM3d_Cross_SphTri(&sph, this, xyz); }
31 bool Cross(cM3dGTri const& other, cXyz* xyz) const {
32 return cM3d_Cross_TriTri(*this, other, xyz);
33 }
34 bool cross(const cM3dGLin* lin, Vec* xyz, bool param_2, bool param_3) const {
35 return cM3d_Cross_LinTri(lin, this, xyz, param_2, param_3);
36 }
37};
38
39#endif
T cLib_calcTimer(T *value)
Definition c_lib.h:74
bool cM3d_Cross_LinTri(cM3dGLin const *line, cM3dGTri const *tri, Vec *vec, bool param_3, bool param_4)
Definition c_m3d.cpp:1075
bool cM3d_Cross_TriTri(cM3dGTri const &tri1, cM3dGTri const &tri2, Vec *param_2)
Definition c_m3d.cpp:1977
bool cM3d_Cross_CpsTri(cM3dGCps const &cps, cM3dGTri tri, Vec *param_2)
Definition c_m3d.cpp:2039
bool cM3d_Cross_SphTri(cM3dGSph const *sph, cM3dGTri const *tri, Vec *param_2)
Definition c_m3d.cpp:1357
Definition c_m3d_g_cps.h:13
Definition c_m3d_g_tri.h:14
Vec mC
Definition c_m3d_g_tri.h:20
bool Cross(cM3dGCyl const &cyl, cXyz *xyz) const
Definition c_m3d_g_tri.h:29
void setPos(const Vec *, const Vec *, const Vec *)
Definition c_m3d_g_tri.cpp:16
void set(const Vec *, const Vec *, const Vec *, const Vec *)
Definition c_m3d_g_tri.cpp:33
void setBg(const Vec *, const Vec *, const Vec *, const cM3dGPla *)
Definition c_m3d_g_tri.cpp:25
bool Cross(cM3dGTri const &other, cXyz *xyz) const
Definition c_m3d_g_tri.h:31
bool Cross(cM3dGSph const &sph, cXyz *xyz) const
Definition c_m3d_g_tri.h:30
virtual ~cM3dGTri()
Definition c_m3d_g_tri.h:23
bool Cross(cM3dGCps const &cps, cXyz *xyz) const
Definition c_m3d_g_tri.h:28
bool cross(const cM3dGCyl *, Vec *) const
Definition c_m3d_g_tri.cpp:11
cM3dGTri()
Definition c_m3d_g_tri.h:22
bool cross(const cM3dGLin *lin, Vec *xyz, bool param_2, bool param_3) const
Definition c_m3d_g_tri.h:34
Vec mB
Definition c_m3d_g_tri.h:19
Vec mA
Definition c_m3d_g_tri.h:18
Definition d_a_hozelda.cpp:18
Definition d_a_npc_fguard.cpp:126
Definition d_a_tag_allmato.cpp:99
Definition d_a_npc_fguard.cpp:122
Definition d_a_tag_allmato.cpp:94
Definition c_m3d_g_tri.h:8
Vec c
Definition c_m3d_g_tri.h:11
Vec a
Definition c_m3d_g_tri.h:9
Vec b
Definition c_m3d_g_tri.h:10
Definition d_a_hozelda.cpp:20