intravenous
diff src/geom.h @ 1:3ea290d35984
it's never going to finish but wth :)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 21 Apr 2012 22:42:43 +0300 |
parents | |
children | 94d4c60af435 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/geom.h Sat Apr 21 22:42:43 2012 +0300 1.3 @@ -0,0 +1,14 @@ 1.4 +#ifndef GEOM_H_ 1.5 +#define GEOM_H_ 1.6 + 1.7 +#include "opengl.h" 1.8 +#include <vmath/vmath.h> 1.9 + 1.10 +struct Vertex { 1.11 + Vector3 pos, norm, tang; 1.12 + Vector2 tc; 1.13 +}; 1.14 + 1.15 +void draw_mesh(unsigned int prim, int count, const Vertex *vbuf, const unsigned int *ibuf); 1.16 + 1.17 +#endif // GEOM_H_