From 21f3329340ccd9a8c42335f84b34d3f7e4a2e99a Mon Sep 17 00:00:00 2001 From: knolax <1339802534.kk@gmail.com> Date: Wed, 1 Mar 2017 12:01:41 -0500 Subject: fixed reflection shading and added colored light. --- glgfx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glgfx.h') diff --git a/glgfx.h b/glgfx.h index ec40f88..8d0137a 100644 --- a/glgfx.h +++ b/glgfx.h @@ -11,9 +11,9 @@ #include int initglgfx(); int genshaders(); -int drawmodel(float x, float y, float z, float xr, float yr, float zr, float s); +int drawmodel(float x, float y, float z, float xr, float yr, float zr, float xs, float ys, float zs); int setcam (float cpx, float cpy, float cpz, float clx, float cly, float clz, float cux, float cuy, float cuz); -int setlight (float x, float y, float z); +int setlight (float x, float y, float z, float r, float g, float b, float lim); int quitglgfx(); int clearglgfx(); int glgfxloadtexture (const char * file); -- cgit v1.1