glColor4f function opengl

void glColor4f(
  1. double red,
  2. double green,
  3. double blue,
  4. double alpha,
)
GLAPI void GLAPIENTRY glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )

Implementation

void glColor4f(double red, double green, double blue, double alpha) {
  final glColor4fAsFunction = _glColor4f
      .cast<
        NativeFunction<
          Void Function(Float red, Float green, Float blue, Float alpha)
        >
      >()
      .asFunction<
        void Function(double red, double green, double blue, double alpha)
      >();
  return glColor4fAsFunction(red, green, blue, alpha);
}