vertex format cleanups
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2175 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -228,10 +228,10 @@ void draw_envbox_face(float s0, float t0, int x0, int y0, int z0,
|
||||
{
|
||||
glBindTexture(GL_TEXTURE_2D, tex->id);
|
||||
glBegin(GL_QUADS);
|
||||
glTexCoord2f(s3, t3); glVertex3i(x3, y3, z3);
|
||||
glTexCoord2f(s2, t2); glVertex3i(x2, y2, z2);
|
||||
glTexCoord2f(s1, t1); glVertex3i(x1, y1, z1);
|
||||
glTexCoord2f(s0, t0); glVertex3i(x0, y0, z0);
|
||||
glTexCoord2f(s3, t3); glVertex3f(x3, y3, z3);
|
||||
glTexCoord2f(s2, t2); glVertex3f(x2, y2, z2);
|
||||
glTexCoord2f(s1, t1); glVertex3f(x1, y1, z1);
|
||||
glTexCoord2f(s0, t0); glVertex3f(x0, y0, z0);
|
||||
glEnd();
|
||||
xtraverts += 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user