aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/gl.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-16 03:54:26 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-16 03:54:26 +0100
commit61c7efc6dd2a036b5d14aa223d06a18cb7d1388e (patch)
tree602a5553bc780ea438a5e0780806a35d2d98ba44 /include/mgl/gl.h
parentb82049c7ad77603537d419bdd0ebebfd3f007916 (diff)
Sprite: add rotation and origin
Diffstat (limited to 'include/mgl/gl.h')
-rw-r--r--include/mgl/gl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mgl/gl.h b/include/mgl/gl.h
index 75bc764..7dc1dd7 100644
--- a/include/mgl/gl.h
+++ b/include/mgl/gl.h
@@ -43,6 +43,7 @@ typedef struct {
void (*glLoadIdentity)(void);
void (*glLoadMatrixf)(const float *m);
void (*glTranslatef)(float x, float y, float z);
+ void (*glRotatef)(float angle, float x, float y, float z);
void (*glGenBuffers)(int n, unsigned int *buffers);
void (*glBindBuffer)(unsigned int target, unsigned int buffer);
void (*glDeleteBuffers)(int n, const unsigned int *buffers);