diff options
author | knolax <1339802534.kk@gmail.com> | 2017-02-22 20:43:47 -0500 |
---|---|---|
committer | knolax <1339802534.kk@gmail.com> | 2017-02-22 20:43:47 -0500 |
commit | c7bdd6fcae58e09597071405c1449df64e084c51 (patch) | |
tree | c9ca26278a7a86725aa2e5af7e1a330c89265137 /glgfx.h | |
parent | d137bf2485050b54bb0ac65ef543ba24f18fabbe (diff) |
implemented phoung shading and surrounding infrastructure, gen.cpp compiles a simple program that creates raw vertex data from vertexes in a way that surppassess the limitations of opengl's native elements[] protocol. next step is to allow for z distance based override and multi draw;
Diffstat (limited to 'glgfx.h')
-rw-r--r-- | glgfx.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -11,6 +11,8 @@ int initglgfx(); int genshaders(); int drawmodel(float x, float y, float z, float xr, float yr, float zr); +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 quitglgfx(); std::string readfile(const char *); #endif |