MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / glVertex4f

Function glVertex4f

engine/source/platformAndroid/AndroidGL2ES.cpp:298–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296 glError = TEST_FOR_OPENGL_ERRORS
297}
298void glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w)
299{
300 AssertFatal( (beginEndMode >= 0), "glVertex3f(): called outside glBegin/glEnd");
301 CHECK_ARRAY_SIZE( &beginEndVertex, &beginEndVertex_alloc, &beginEndVertex_size, GLfloat, 4 );
302 beginEndVertex[ beginEndVertex_size*4 ] = x;
303 beginEndVertex[ beginEndVertex_size*4+1 ] = y;
304 beginEndVertex[ beginEndVertex_size*4+2 ] = z;
305 beginEndVertex[ beginEndVertex_size*4+3 ] = w;
306 beginEndVertex_size++;
307 int glError;
308 glError = TEST_FOR_OPENGL_ERRORS
309}
310void glVertex2f( GLfloat x, GLfloat y )
311{
312 AssertFatal( (beginEndMode >= 0), "glVertex2f(): called outside glBegin/glEnd");

Callers 6

glVertex2fFunction · 0.70
glVertex3fFunction · 0.70
glVertex2fvFunction · 0.70
glVertex2iFunction · 0.70
glVertex3fvFunction · 0.70
glVertex4fvFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected