X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2F3dgfx.h;h=2a82284b7a3dfcccebf1d33f6f4b725870c3ac7c;hp=fd7f625a1594c94042b14c0192bfec53973ea546;hb=45f6f46fe758d15aafccdb69ae837fc7d84ee466;hpb=100da5f0dbf2d9edbc65d6308f9481ca2e4f55df diff --git a/src/3dgfx.h b/src/3dgfx.h index fd7f625..2a82284 100644 --- a/src/3dgfx.h +++ b/src/3dgfx.h @@ -82,6 +82,8 @@ 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); +/* returns pointer to the *internal* matrix, and if argument m is not null, + * also copies the internal matrix there. */ const float *g3d_get_matrix(int which, float *m); void g3d_light_pos(int idx, float x, float y, float z);