Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
File Members
ivorium_graphics
Rendering
Mesh.cpp
Go to the documentation of this file.
1
#include "
Mesh.hpp
"
2
3
namespace
iv
4
{
5
6
Mesh::Mesh
(
Instance
* inst ) :
7
inst( inst ),
8
_mesh()
9
{
10
}
11
12
Instance
*
Mesh::instance
()
const
13
{
14
return
this->inst;
15
}
16
17
GlMesh
const
*
Mesh::gl_mesh
()
const
18
{
19
return
&this->_mesh;
20
}
21
22
GlMesh
*
Mesh::gl_mesh
()
23
{
24
return
&this->_mesh;
25
}
26
27
}