X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fxgl.h;h=60760738455a08be328baec51c212b441a99917e;hb=70c4f810480b6e814bdc18ad8b9384747a717058;hp=c15231e88e6268e11f1fce2c302b1d7930923b4a;hpb=0fb6ea205b4a1884a49064b697a452efa9abfb74;p=gba_blender diff --git a/src/xgl.h b/src/xgl.h index c15231e..6076073 100644 --- 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_ */