blob: 52c0f2487d9e97cb55a0758409bd0276feb897c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#ifndef C_M3D_G_UNK_H
#define C_M3D_G_UNK_H
#include "common.h"
#include "d/col/c/c_m3d.h"
#include "d/col/c/c_m3d_g_lin.h"
#include "m/m_mtx.h"
#include "m/m_vec.h"
struct cM3dGCps;
struct cM3dGCyl;
struct cM3dGSph;
class cM3dGUnk {
public:
/* 0x00 */ mMtx_c mMtx;
/* 0x30 */ mMtx_c mInvMtx;
/* 0x60 */ mVec3_c mMin;
/* 0x6C */ mVec3_c mMax;
/* 0x78 */ cM3dGLin mLin;
/* 0x90 */ mVec3_c field_0x90;
/* 0x9C */ mVec3_c field_0x9C;
/* 0xA8 */ mVec3_c field_0xA8;
/* 0xB4 */ u32 field_0xB4;
/* 0xB8 */ mVec3_c mVirtCenter;
/* 0xC4 */ f32 field_0xC4;
cM3dGUnk();
/* vt at 0xC8*/
virtual ~cM3dGUnk() {}
void Set(const mVec3_c &, const mVec3_c &);
void Update();
void GetStartEnd(mVec3_c &, mVec3_c &);
bool Cross(cM3dGCps &, mVec3_c *);
bool Cross(cM3dGTri &, mVec3_c *);
bool Cross(cM3dGUnk &, mVec3_c *);
bool Cross(cM3dGCyl &, mVec3_c *);
bool Cross(cM3dGCyl &, f32 *);
bool Cross(cM3dGSph &, mVec3_c *);
bool Cross(cM3dGSph &, f32 *);
void Set(const mMtx_c &);
void Set(const mVec3_c &, const mAng &);
bool Cross(const mVec3_c &);
void Clamp(const mVec3_c &, mVec3_c &);
void fn_80338f30(f32, f32);
};
#endif
|