Started sketching the Instance struct.

This commit is contained in:
Angelo Papenhoff
2014-12-20 15:05:34 +01:00
parent 92a3db015c
commit ae682bab47
5 changed files with 56 additions and 62 deletions

7
rw.h
View File

@ -78,6 +78,11 @@ struct MorphTarget
float32 *normals;
};
struct InstanceDataHeader
{
uint32 platform;
};
struct Geometry : PluginBase<Geometry>, Object
{
uint32 geoflags;
@ -97,6 +102,8 @@ struct Geometry : PluginBase<Geometry>, Object
MeshHeader *meshHeader;
InstanceDataHeader *instData;
int32 refCount;
Geometry(int32 numVerts, int32 numTris, uint32 flags);