git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@102 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-01-08 13:38:30 +00:00
parent 679ba2ef64
commit a2346e9584
19 changed files with 1975 additions and 1917 deletions
+3 -3
View File
@@ -124,8 +124,8 @@ void md2::scale(int frame, float scale, int sn)
};
void md2::render(vec &light, int frame, int range, float x, float y, float z, float yaw, float pitch, float sc, float speed, int snap, int basetime)
{
loopi(range) if(!mverts[frame+i]) scale(frame+i, sc, snap);
{
loopi(range) if(!mverts[frame+i]) scale(frame+i, sc, snap);
glPushMatrix ();
glTranslatef(x, y, z);
@@ -186,7 +186,7 @@ void md2::render(vec &light, int frame, int range, float x, float y, float z, fl
glEndList();
displaylistverts = xtraverts-displaylistverts;
};
};
};
glPopMatrix();
}