support loading of multiple animations in a Model

This commit is contained in:
Chris Danford
2003-06-07 18:09:20 +00:00
parent 9e1e850072
commit 739cc6d38b
4 changed files with 107 additions and 220 deletions
+6 -2
View File
@@ -170,7 +170,10 @@ typedef struct msModel
vector<msMesh> Meshes;
vector<msMaterial> Materials;
} msModel;
struct msAnimation
{
vector<msBone> Bones;
int FindBoneByName( const char* szName )
@@ -181,11 +184,12 @@ typedef struct msModel
return -1;
}
int nFrame;
// not used
// int nFrame;
int nTotalFrames;
msVec3 Position;
msVec3 Rotation;
} msModel;
};
#endif