Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J3DCluster.h
Go to the documentation of this file.
1#ifndef J3DCLUSTER_H
2#define J3DCLUSTER_H
3
4#include "dolphin/types.h"
5
6class J3DDeformer;
7class J3DClusterKey;
10class J3DModel;
11class J3DAnmCluster;
12class JUTNameTab;
13
19public:
20 void operator=(const J3DCluster& other) {
21 mMaxAngle = other.mMaxAngle;
22 mMinAngle = other.mMinAngle;
23 mClusterKey = other.mClusterKey;
24 mFlags = other.mFlags;
25 mKeyNum = other.mKeyNum;
27 field_0x14 = other.field_0x14;
28 field_0x16 = other.field_0x16;
29 field_0x18 = other.field_0x18;
30 mClusterVertex = other.mClusterVertex;
31 mDeformer = other.mDeformer;
32 }
33
36
37 /* 0x00 */ f32 mMaxAngle;
38 /* 0x04 */ f32 mMinAngle;
40 /* 0x0C */ u8 mFlags;
41 /* 0x0E */ u8 field_0xe[0x10 - 0xD];
42 /* 0x10 */ u16 mKeyNum;
43 /* 0x12 */ u16 mPosNum;
44 /* 0x14 */ u16 field_0x14;
45 /* 0x16 */ u16 field_0x16;
46 /* 0x18 */ u16* field_0x18;
49};
50
56public:
58 mPosNum = other.mPosNum;
59 mNrmNum = other.mNrmNum;
60 field_0x4 = other.field_0x4;
61 field_0x8 = other.field_0x8;
62 }
63
64 /* 0x00 */ u16 mPosNum;
65 /* 0x02 */ u16 mNrmNum;
66 /* 0x04 */ void* field_0x4;
67 /* 0x08 */ void* field_0x8;
68}; // Size: 0x0C
69
75public:
76 /* 8032E1F8 */ J3DDeformData();
77 /* 8032E230 */ void offAllFlag(u32);
78 /* 8032E298 */ void deform(J3DVertexBuffer*);
79 /* 8032E274 */ void deform(J3DModel*);
80 /* 8032E364 */ void setAnm(J3DAnmCluster*);
81
82 J3DCluster* getClusterPointer(u16 index) { return &mClusterPointer[index]; }
83 u16 getClusterNum() const { return mClusterNum; }
86 f32* getVtxPos() { return mVtxPos; }
87 f32* getVtxNrm() { return mVtxNrm; }
88
89 /* 0x00 */ u16 mClusterNum;
90 /* 0x02 */ u16 mClusterKeyNum;
95 /* 0x14 */ u16 mVtxPosNum;
96 /* 0x16 */ u16 mVtxNrmNum;
97 /* 0x18 */ f32* mVtxPos;
98 /* 0x1C */ f32* mVtxNrm;
101}; // Size: 0x28
102
108public:
110 mNum = other.mNum;
111 field_0x4 = other.field_0x4;
112 field_0x8 = other.field_0x8;
113 }
114
115 /* 0x00 */ u16 mNum;
116 /* 0x04 */ u16* field_0x4;
117 /* 0x08 */ u16* field_0x8;
118}; // Size: 0x0C
119
120#endif /* J3DCLUSTER_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition J3DAnimation.h:811
Definition J3DCluster.h:55
u16 mNrmNum
Definition J3DCluster.h:65
u16 mPosNum
Definition J3DCluster.h:64
void * field_0x8
Definition J3DCluster.h:67
void * field_0x4
Definition J3DCluster.h:66
void operator=(const J3DClusterKey &other)
Definition J3DCluster.h:57
Definition J3DCluster.h:107
u16 mNum
Definition J3DCluster.h:115
u16 * field_0x8
Definition J3DCluster.h:117
void operator=(const J3DClusterVertex &other)
Definition J3DCluster.h:109
u16 * field_0x4
Definition J3DCluster.h:116
Definition J3DCluster.h:18
void setDeformer(J3DDeformer *deformer)
Definition J3DCluster.h:35
J3DClusterVertex * mClusterVertex
Definition J3DCluster.h:47
u16 field_0x14
Definition J3DCluster.h:44
f32 mMinAngle
Definition J3DCluster.h:38
u16 field_0x16
Definition J3DCluster.h:45
J3DDeformer * getDeformer()
Definition J3DCluster.h:34
J3DDeformer * mDeformer
Definition J3DCluster.h:48
u8 mFlags
Definition J3DCluster.h:40
void operator=(const J3DCluster &other)
Definition J3DCluster.h:20
u16 mPosNum
Definition J3DCluster.h:43
f32 mMaxAngle
Definition J3DCluster.h:37
u8 field_0xe[0x10 - 0xD]
Definition J3DCluster.h:41
J3DClusterKey * mClusterKey
Definition J3DCluster.h:39
u16 mKeyNum
Definition J3DCluster.h:42
u16 * field_0x18
Definition J3DCluster.h:46
Definition J3DCluster.h:74
u16 getClusterNum() const
Definition J3DCluster.h:83
u16 mVtxPosNum
Definition J3DCluster.h:95
J3DClusterKey * getClusterKeyPointer(u16 i)
Definition J3DCluster.h:85
f32 * mVtxPos
Definition J3DCluster.h:97
J3DClusterKey * mClusterKeyPointer
Definition J3DCluster.h:93
J3DCluster * getClusterPointer(u16 index)
Definition J3DCluster.h:82
u16 mClusterNum
Definition J3DCluster.h:89
J3DClusterVertex * mClusterVertex
Definition J3DCluster.h:94
JUTNameTab * mClusterName
Definition J3DCluster.h:99
void deform(J3DVertexBuffer *)
Definition J3DCluster.cpp:57
u16 mClusterKeyNum
Definition J3DCluster.h:90
JUTNameTab * mClusterKeyName
Definition J3DCluster.h:100
void offAllFlag(u32)
Definition J3DCluster.cpp:41
f32 * getVtxPos()
Definition J3DCluster.h:86
void setAnm(J3DAnmCluster *)
Definition J3DCluster.cpp:78
J3DDeformData()
Definition J3DCluster.cpp:25
f32 * getVtxNrm()
Definition J3DCluster.h:87
u16 mVtxNrmNum
Definition J3DCluster.h:96
J3DCluster * mClusterPointer
Definition J3DCluster.h:92
f32 * mVtxNrm
Definition J3DCluster.h:98
u16 mClusterVertexNum
Definition J3DCluster.h:91
u16 getClusterKeyNum() const
Definition J3DCluster.h:84
Definition J3DSkinDeform.h:82
Definition J3DVertex.h:75
Definition JUTNameTab.h:27
int i
Definition e_pow.c:165
Definition d_a_ep.cpp:155
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8