Initial commit.

This commit is contained in:
blitz-research
2014-01-31 08:23:00 +13:00
commit 08a613ed0e
322 changed files with 45306 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#include "bd2model.h"
struct BD2Vert{
unsigned char x,y,z,n,u,v;
};
struct BD2Tri{
unsigned short v0,v1,v2;
};
struct BD2Frame{
float x_scale,y_scale,z_scale;
float x_offset,y_offset,z_offset;
BD2Vert verts[1];
};
struct BD2File{
int id; //'BD2F'
float u_scale,v_scale;
int n_verts,n_tris,n_frames;
BD2Tri tris[1];
BD2Frame frames[1];
};
struct BD2Model::Rep{
};