intravenous

view src/geom.h @ 6:2723dc026c4f

collision detection
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 23 Apr 2012 21:43:10 +0300
parents 3ea290d35984
children
line source
1 #ifndef GEOM_H_
2 #define GEOM_H_
4 #include "opengl.h"
5 #include <vmath/vmath.h>
7 struct Vertex {
8 Vector3 pos, norm, tang;
9 Vector2 tc;
10 };
12 void draw_mesh(unsigned int prim, int count, const Vertex *vbuf, const unsigned int *ibuf, int tang_attr_loc = -1);
14 #endif // GEOM_H_