model types

This commit is contained in:
Glenn Maynard
2004-05-11 20:35:21 +00:00
parent 9dfcb5b7e1
commit 17207ba6b5
2 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -646,7 +646,7 @@ void Model::PlayAnimation( CString sAniName, float fPlayRate )
{
// int nBoneIndex = (pMesh->nBoneIndex!=-1) ? pMesh->nBoneIndex : bone;
RageVector3 &pos = Vertices[j].p;
Sint8 bone = Vertices[j].bone;
int8_t bone = Vertices[j].bone;
if (bone != -1)
{
pos[0] -= m_vpBones[bone].mAbsolute.m[3][0];
@@ -834,7 +834,7 @@ void Model::Update( float fDelta )
RageVector3& originalNormal = origVertices[j].n;
RageVector2& tempTex = tempVertices[j].t;
RageVector2& originalTex = origVertices[j].t;
Sint8 bone = origVertices[j].bone;
int8_t bone = origVertices[j].bone;
tempTex = originalTex;