X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2F3dgfx.h;h=f6250d5f0251e4f0c9b0ac7737c631283ddce42a;hp=5c30e9c37c568aa7336e26b0ad280b397debe800;hb=e8b26db00c934d141f16652cb8dcbeae23b17e48;hpb=b0159ee29e4e616e4506d3cea5aee6ecc97aa93a diff --git a/src/3dgfx.h b/src/3dgfx.h index 5c30e9c..f6250d5 100644 --- a/src/3dgfx.h +++ b/src/3dgfx.h @@ -54,6 +54,7 @@ enum { G3D_CLIP_PLANE3 = 0x008000, G3D_TEXTURE_MAT = 0x010000, + G3D_SPECULAR = 0x020000, G3D_ALL = 0x7fffffff }; @@ -112,6 +113,7 @@ void g3d_perspective(float vfov, float aspect, float znear, float zfar); const float *g3d_get_matrix(int which, float *m); void g3d_light_pos(int idx, float x, float y, float z); +void g3d_light_dir(int idx, float x, float y, float z); void g3d_light_color(int idx, float r, float g, float b); void g3d_light_ambient(float r, float g, float b);