added cfgopt to the dos makefile
[dosdemo] / src / 3dgfx.h
index 9e4b140..c80ded1 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef THREEDGFX_H_
 #define THREEDGFX_H_
 
+#include "inttypes.h"
+
 struct g3d_vertex {
        float x, y, z, w;
        float nx, ny, nz;
@@ -63,6 +65,10 @@ void g3d_ortho(float left, float right, float bottom, float top, float znear, fl
 void g3d_frustum(float left, float right, float bottom, float top, float znear, float zfar);
 void g3d_perspective(float vfov, float aspect, float znear, float zfar);
 
+const float *g3d_get_matrix(int which, float *m);
+
 void g3d_draw(int prim, const struct g3d_vertex *varr, int varr_size);
+void g3d_draw_indexed(int prim, const struct g3d_vertex *varr, int varr_size,
+               const int16_t *iarr, int iarr_size);
 
 #endif /* THREEDGFX_H_ */