SparrowRenderer/mesh.cpp
2015-06-22 01:57:02 +02:00

24 lines
254 B
C++

#include "mesh.h"
Mesh::Mesh()
{
}
void Mesh::addVertex(Vertex& v)
{
vertices.push_back(v);
}
void Mesh::addFace(int i1, int i2, int i3)
{
indices.push_back(i1);
indices.push_back(i2);
indices.push_back(i3);
}
void Mesh::draw()
{
}