libigl v2.5.0
Loading...
Searching...
No Matches
vertex_array.h
Go to the documentation of this file.
1#ifndef IGL_OPENGL_VERTEX_ARRAY_H
2#define IGL_OPENGL_VERTEX_ARRAY_H
3#include "../igl_inline.h"
4#include "gl.h"
5#include <Eigen/Core>
6namespace igl
7{
8 namespace opengl
9 {
22 template <
23 typename DerivedV,
24 typename DerivedF>
26 const Eigen::PlainObjectBase<DerivedV> & V,
27 const Eigen::PlainObjectBase<DerivedF> & F,
28 GLuint & va_id,
29 GLuint & ab_id,
30 GLuint & eab_id);
31 }
32}
33#ifndef IGL_STATIC_LIBRARY
34# include "vertex_array.cpp"
35#endif
36#endif
#define IGL_INLINE
Definition igl_inline.h:15
void vertex_array(const Eigen::PlainObjectBase< DerivedV > &V, const Eigen::PlainObjectBase< DerivedF > &F, GLuint &va_id, GLuint &ab_id, GLuint &eab_id)
Create a GL_VERTEX_ARRAY for a given mesh (V,F)
Definition AABB.h:17