summaryrefslogtreecommitdiff
path: root/glgfx.h
diff options
context:
space:
mode:
authorknolax <1339802534.kk@gmail.com>2017-03-01 12:01:41 -0500
committerknolax <1339802534.kk@gmail.com>2017-03-01 12:01:41 -0500
commit21f3329340ccd9a8c42335f84b34d3f7e4a2e99a (patch)
tree745b30ca9313244caea8ea08307a08732e0a98e9 /glgfx.h
parent50462167289384ba8c546331a71d8d8558f06c80 (diff)
fixed reflection shading and added colored light.
Diffstat (limited to 'glgfx.h')
-rw-r--r--glgfx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/glgfx.h b/glgfx.h
index ec40f88..8d0137a 100644
--- a/glgfx.h
+++ b/glgfx.h
@@ -11,9 +11,9 @@
#include <glm/gtc/type_ptr.hpp>
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);