1 #ifndef VTESTBED_GRAPHICS_VERTEXBUFFER_HH 2 #define VTESTBED_GRAPHICS_VERTEXBUFFER_HH 4 #include <blitz/array.h> 6 #include <vtestbed/geometry/polyhedron.hh> 7 #include <vtestbed/graphics/types.hh> 16 typedef Float graphics_real_type;
18 using core_array = blitz::Array<blitz::TinyVector<T,3>,1>;
26 Buffer{Buffer::TargetHint::Array}
32 template <
class T>
void 33 setVertices(core_array<T> vertices, BufferUsage usage);
35 template <
class T>
void 44 #endif // vim:filetype=cpp