axis gizmo
[gba_blender] / src / xgl.h
index c15231e..6076073 100644 (file)
--- a/src/xgl.h
+++ b/src/xgl.h
@@ -51,6 +51,7 @@ void xgl_push_matrix(void);
 void xgl_pop_matrix(void);
 void xgl_load_identity(void);
 void xgl_load_matrix(const int32_t *m);
+void xgl_get_matrix(int32_t *m);
 void xgl_mult_matrix(const int32_t *m);
 
 void xgl_translate(int32_t x, int32_t y, int32_t z);
@@ -60,5 +61,6 @@ void xgl_rotate_z(int32_t angle);
 void xgl_scale(int32_t x, int32_t y, int32_t z);
 
 void xgl_draw(int prim, const struct xvertex *varr, int vcount);
+void xgl_transform(const struct xvertex *vin, int *x, int *y);
 
 #endif /* XGL_H_ */