intravenous
view src/geom.h @ 3:94d4c60af435
some progress
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 22 Apr 2012 03:35:18 +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_