mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-17 19:46:43 -04:00
WIP - rotation of the bones is problematic
This commit is contained in:
parent
2c6036f653
commit
7bfbb6bff8
2 changed files with 155 additions and 35 deletions
|
@ -255,7 +255,7 @@ static void DrawMeshes()
|
|||
glColor3f(1.0, 1.0, 1.0);
|
||||
glPushMatrix();
|
||||
glLoadIdentity();
|
||||
TransformVertices(Skeleton.Bones[0]);
|
||||
//TransformVertices(Skeleton.Bones[0]);
|
||||
glPopMatrix();
|
||||
BlendVertices();
|
||||
|
||||
|
@ -424,7 +424,7 @@ static int Startup()
|
|||
ReadAnimation(Animation);
|
||||
free(InData);
|
||||
|
||||
AdvanceFrame(Skeleton, Animation, 0);
|
||||
//AdvanceFrame(Skeleton, Animation, 0);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue