3#include <mgdl/mgdl-opengl.h>
16 void mgdl_glClear(GLbitfield flags);
21 void mgdl_InitPerspectiveProjection(
float fovy,
float nearZ,
float farZ);
22 void mgdl_InitOrthoProjection(
void);
25 void mgdl_glSetTransparency(
bool enabled);
26 void mgdl_glSetAlphaTest(
bool enabled);
28 void mgdl_glColor3f(
Color4f* color);
29 void mgdl_glColor4f(
Color4f* color);
30 void mgdl_glColor4fa(
Color4f* color,
float alpha);
31 void mgdl_glClearColor4f(
Color4f* color);
33 void mgdl_glVertexV3F(V3f);
34 void mgdl_glVertexV3F_xy(V3f);
36 void mgdl_glTriangleV3F(V3f a, V3f b, V3f c);
37 void mgdl_glTriangleV3F_xy(V3f a, V3f b, V3f c);
39 void mgdl_SetFaceCulling(
bool enabled);
41 void mgdl_SetDepthTest(
bool enabled);
45 void mgdl_SetLightingEnabled(
bool enabled);
46 bool mgdl_GetLightingEnabled(
void);
47 GLint mgdl_EnableLightGetIndex(
void);
48 void mgdl_DisableLightIndex(GLint index);
55void mgdl_InitCamera(V3f cameraPos, V3f cameraTarget, V3f cameraUp);
Color struct and functions.
Definition mgdl-color.h:54