altEngine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
md5_types.h
Go to the documentation of this file.
1
struct
md5_joint_t
2
{
3
char
name
[256];
4
int
parent
;
5
6
vec3
pos
;
7
quaternion
orient
;
8
};
9
10
struct
md5_vertex_t
11
{
12
float
u
;
13
float
v
;
14
15
int
start
;
16
int
count
;
17
};
18
19
struct
md5_triangle_t
20
{
21
int
a
;
22
int
b
;
23
int
c
;
24
};
25
26
struct
md5_weight_t
27
{
28
int
joint
;
29
float
bias
;
30
31
vec3
pos
;
32
};
33
34
typedef
struct
35
{
36
vec3
min
;
37
vec3
max
;
38
}
md5_aabb_t
;
39
40
41
struct
md5_mesh_t
42
{
43
md5_vertex_t
*
vertex
;
44
md5_triangle_t
*
triangle
;
45
md5_weight_t
*
weight
;
46
47
int
num_vertex
;
48
int
num_tri
;
49
int
num_weight
;
50
51
char
shader
[256];
52
};
53
54
struct
md5_model_t
55
{
56
char
name
[128];
57
struct
md5_joint_t
*
joint
;
58
struct
md5_mesh_t
*
mesh
;
59
60
int
num_joint
;
61
int
num_mesh
;
62
};
63
64
typedef
struct
65
{
66
vec3
pos
;
67
quaternion
orient
;
68
}
md5_base_t
;
69
70
71
typedef
struct
72
{
73
char
name[64];
74
int
parent
;
75
int
flag
;
76
int
start
;
77
}
md5_hierarchy_t
;
78
79
struct
md5_anim_t
80
{
81
int
num_frame
;
82
int
num_joint
;
83
int
frame_rate
;
84
int
num_ani
;
85
86
md5_base_t
*
base
;
87
md5_aabb_t
*
aabb
;
88
md5_hierarchy_t
*
hierarchy
;
89
float
*
frame
;
90
};
91
92
typedef
struct
anim_list_s
93
{
94
char
name
[256];
95
struct
md5_anim_t
*
anim
;
96
struct
anim_list_s
*
next
;
97
}
anim_list_t
;
98
99
typedef
struct
100
{
101
md5_joint_t
**
frame
;
102
int
**
frame_index
;
103
int
**
count_index
;
104
int
**
frame_vertex
;
105
int
**
count_vertex
;
106
}
md5_buffer_t
;
Generated on Tue Nov 21 2017 19:18:54 for altEngine by
1.8.2