summaryrefslogtreecommitdiffstats
path: root/gl.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-13 12:27:58 -0500
committerSam Anthony <sam@samanthony.xyz>2024-11-13 12:27:58 -0500
commit5011ea1b44c055893c691e923f4e82cdaebd5b0c (patch)
tree5b6d421b2287d0ddf9f733be9ce1c928a2822e7d /gl.h
parent44792fd5369cfe2ad1478b72bf22b0d1829f291b (diff)
downloadballs-5011ea1b44c055893c691e923f4e82cdaebd5b0c.zip
move gl functions out of balls.c
Diffstat (limited to 'gl.h')
-rw-r--r--gl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gl.h b/gl.h
new file mode 100644
index 0000000..a863aad
--- /dev/null
+++ b/gl.h
@@ -0,0 +1,3 @@
+void initGL(int argc, char *argv[]);
+void genBuffers(GLuint *vertexVAO, GLuint *vertexVBO, GLuint *colorVBO, int nBalls);
+void freeGL(GLuint vertexVAO, GLuint vertexVBO, GLuint colorVBO);