rlgl rewrite, meshes not showing up correctly yet

This commit is contained in:
Jip 2024-05-06 07:24:32 +02:00
parent 7bfbb6bff8
commit e9a1c6073c
5 changed files with 824 additions and 49 deletions

View file

@ -251,14 +251,14 @@ static void BlendVertices()
static void DrawMeshes()
{
glPointSize(2.0);
//glPointSize(2.0);
glColor3f(1.0, 1.0, 1.0);
glPushMatrix();
glLoadIdentity();
//TransformVertices(Skeleton.Bones[0]);
TransformVertices(Skeleton.Bones[0]);
glPopMatrix();
BlendVertices();
glEnable(GL_TEXTURE_2D);
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
@ -424,7 +424,7 @@ static int Startup()
ReadAnimation(Animation);
free(InData);
//AdvanceFrame(Skeleton, Animation, 0);
AdvanceFrame(Skeleton, Animation, 0);
return 1;
}