summaryrefslogtreecommitdiff
path: root/glgfx.h
diff options
context:
space:
mode:
authorknolax <1339802534.kk@gmail.com>2017-02-22 20:43:47 -0500
committerknolax <1339802534.kk@gmail.com>2017-02-22 20:43:47 -0500
commitc7bdd6fcae58e09597071405c1449df64e084c51 (patch)
treec9ca26278a7a86725aa2e5af7e1a330c89265137 /glgfx.h
parentd137bf2485050b54bb0ac65ef543ba24f18fabbe (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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/glgfx.h b/glgfx.h
index b2e9997..0cb1ff9 100644
--- a/glgfx.h
+++ b/glgfx.h
@@ -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