intravenous
annotate 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 |
rev | line source |
---|---|
nuclear@1 | 1 #ifndef GEOM_H_ |
nuclear@1 | 2 #define GEOM_H_ |
nuclear@1 | 3 |
nuclear@1 | 4 #include "opengl.h" |
nuclear@1 | 5 #include <vmath/vmath.h> |
nuclear@1 | 6 |
nuclear@1 | 7 struct Vertex { |
nuclear@1 | 8 Vector3 pos, norm, tang; |
nuclear@1 | 9 Vector2 tc; |
nuclear@1 | 10 }; |
nuclear@1 | 11 |
nuclear@1 | 12 void draw_mesh(unsigned int prim, int count, const Vertex *vbuf, const unsigned int *ibuf); |
nuclear@1 | 13 |
nuclear@1 | 14 #endif // GEOM_H_ |