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

Function glVertex2f

engine/source/platformAndroid/AndroidGL2ES.cpp:310–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308 glError = TEST_FOR_OPENGL_ERRORS
309}
310void glVertex2f( GLfloat x, GLfloat y )
311{
312 AssertFatal( (beginEndMode >= 0), "glVertex2f(): called outside glBegin/glEnd");
313 glVertex4f( x, y, 0.0f, 1.0f );
314 int glError;
315 glError = TEST_FOR_OPENGL_ERRORS
316}
317void glVertex3f( GLfloat x, GLfloat y, GLfloat z )
318{
319 AssertFatal( (beginEndMode >= 0), "glVertex3f(): called outside glBegin/glEnd");

Callers 13

DrawPolygonMethod · 0.50
DrawSolidPolygonMethod · 0.50
DrawCircleMethod · 0.50
DrawSolidCircleMethod · 0.50
DrawSegmentMethod · 0.50
DrawTransformMethod · 0.50
DrawPointMethod · 0.50
RenderQuadMethod · 0.50
dglDrawBlendBoxFunction · 0.50
dglDrawBlendRangeBoxFunction · 0.50
dglDrawBitmapStretchSRFunction · 0.50
dglDrawLineFunction · 0.50

Calls 1

glVertex4fFunction · 0.70

Tested by

no test coverage detected