libigl v2.5.0
Loading...
Searching...
No Matches
create_mesh_vbo.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef IGL_OPENGL_CREATE_MESH_VBO_H
9#define IGL_OPENGL_CREATE_MESH_VBO_H
10#include "../igl_inline.h"
11#include "gl.h"
12#include <Eigen/Core>
13
14namespace igl
15{
16 namespace opengl
17 {
18
32 const Eigen::MatrixXd & V,
33 const Eigen::MatrixXi & F,
34 GLuint & V_vbo_id,
35 GLuint & F_vbo_id);
41 const Eigen::MatrixXd & V,
42 const Eigen::MatrixXi & F,
43 const Eigen::MatrixXd & N,
44 GLuint & V_vbo_id,
45 GLuint & F_vbo_id,
46 GLuint & N_vbo_id);
47 }
48
49}
50
51#ifndef IGL_STATIC_LIBRARY
52# include "create_mesh_vbo.cpp"
53#endif
54
55#endif
#define IGL_INLINE
Definition igl_inline.h:15
void create_mesh_vbo(const Eigen::MatrixXd &V, const Eigen::MatrixXi &F, GLuint &V_vbo_id, GLuint &F_vbo_id)
Create a VBO (Vertex Buffer Object) for a mesh.
Definition AABB.h:17