Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
c_m3d_g_cps.h
Go to the documentation of this file.
1#ifndef C_M3D_G_CPS_H
2#define C_M3D_G_CPS_H
3
6
7struct cM3dGCpsS {
8 /* 0x00 */ Vec mStart;
9 /* 0x0C */ Vec mEnd;
10 /* 0x18 */ f32 mRadius;
11}; // Size: 0x1C
12
13class cM3dGCps : public cM3dGLin {
14public:
15 /* 0x1C */ f32 mRadius;
16
17 cM3dGCps(void);
18 virtual ~cM3dGCps(void);
19 void Set(const cXyz&, const cXyz&, f32);
20 void Set(const cM3dGCpsS&);
21 void SetCps(const cM3dGCps&);
22 bool Cross(cM3dGCps const* other, cXyz* xyz) const {
23 return cM3d_Cross_CpsCps(*this, *other, xyz);
24 }
25 bool Cross(cM3dGCyl const* cyl, cXyz* xyz) const { return cM3d_Cross_CpsCyl(*this, *cyl, xyz); }
26 bool Cross(cM3dGSph const* sph, cXyz* xyz) const { return cM3d_Cross_CpsSph(*this, *sph, xyz); }
27 void SetR(f32 r) { mRadius = r; }
28 f32 GetR() const { return mRadius; }
29
30}; // Size = 0x20
31
32STATIC_ASSERT(0x20 == sizeof(cM3dGCps));
33
34#endif /* C_M3D_G_CPS_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
bool cM3d_Cross_CpsSph(cM3dGCps const &param_1, cM3dGSph const &param_2, Vec *param_3)
Definition c_m3d.cpp:1954
bool cM3d_Cross_CpsCps(cM3dGCps const &cps1, cM3dGCps const &cps2, Vec *param_2)
Definition c_m3d.cpp:1742
bool cM3d_Cross_CpsCyl(cM3dGCps const &cps, cM3dGCyl const &cyl, Vec *param_2)
Definition c_m3d.cpp:1815
STATIC_ASSERT(0x20==sizeof(cM3dGCps))
Definition c_m3d_g_cps.h:13
f32 GetR() const
Definition c_m3d_g_cps.h:28
void Set(const cXyz &, const cXyz &, f32)
Definition c_m3d_g_cps.cpp:15
void SetR(f32 r)
Definition c_m3d_g_cps.h:27
bool Cross(cM3dGCyl const *cyl, cXyz *xyz) const
Definition c_m3d_g_cps.h:25
cM3dGCps(void)
Definition c_m3d_g_cps.cpp:9
virtual ~cM3dGCps(void)
Definition c_m3d_g_cps.cpp:12
void SetCps(const cM3dGCps &)
Definition c_m3d_g_cps.cpp:27
bool Cross(cM3dGSph const *sph, cXyz *xyz) const
Definition c_m3d_g_cps.h:26
f32 mRadius
Definition c_m3d_g_cps.h:15
bool Cross(cM3dGCps const *other, cXyz *xyz) const
Definition c_m3d_g_cps.h:22
r
Definition e_acos.c:100
Definition d_a_hozelda.cpp:18
Definition c_m3d_g_cps.h:7
Vec mStart
Definition c_m3d_g_cps.h:8
Vec mEnd
Definition c_m3d_g_cps.h:9
f32 mRadius
Definition c_m3d_g_cps.h:10
Definition d_a_npc_fguard.cpp:126
Definition d_a_tag_allmato.cpp:99
Definition d_a_tag_allmato.cpp:94
Definition d_a_hozelda.cpp:20
float f32
Definition types.h:22