Face3d
Face3D::Mesh Class Reference

#include <Model.hpp>

Public Member Functions

 Mesh (const std::vector< Vertex > &vertices, const std::vector< GLuint > &indices)
 
void render ()
 

Private Member Functions

void setup ()
 

Private Attributes

std::vector< Vertexm_Vertices
 
std::vector< GLuint > m_Indices
 
GLuint m_VaoID =0
 
GLuint m_VboID =0
 
GLuint m_EboID =0
 

Detailed Description

definition of a triangle mesh

Constructor & Destructor Documentation

Face3D::Mesh::Mesh ( const std::vector< Vertex > &  vertices,
const std::vector< GLuint > &  indices 
)

Member Function Documentation

void Face3D::Mesh::render ( )
void Face3D::Mesh::setup ( )
private

Member Data Documentation

GLuint Face3D::Mesh::m_EboID =0
private
std::vector<GLuint> Face3D::Mesh::m_Indices
private
GLuint Face3D::Mesh::m_VaoID =0
private
GLuint Face3D::Mesh::m_VboID =0
private
std::vector<Vertex> Face3D::Mesh::m_Vertices
private

The documentation for this class was generated from the following files: