diff options
author | knolax <1339802534.kk@gmail.com> | 2017-03-01 12:01:41 -0500 |
---|---|---|
committer | knolax <1339802534.kk@gmail.com> | 2017-03-01 12:01:41 -0500 |
commit | 21f3329340ccd9a8c42335f84b34d3f7e4a2e99a (patch) | |
tree | 745b30ca9313244caea8ea08307a08732e0a98e9 /glgfx.h | |
parent | 50462167289384ba8c546331a71d8d8558f06c80 (diff) |
fixed reflection shading and added colored light.
Diffstat (limited to 'glgfx.h')
-rw-r--r-- | glgfx.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |