glVertex2f function

void glVertex2f(
  1. double x,
  2. double y
)
GLAPI void GLAPIENTRY glVertex2f (GLfloat x, GLfloat y)

Implementation

void glVertex2f(double x, double y) {
  final glVertex2fLookupFunction = libGL.lookupFunction<
      Void Function(Float x, Float y),
      void Function(double x, double y)>('glVertex2f');
  return glVertex2fLookupFunction(x, y);
}