charcoal/OpenGLEngine/Mesh.h
2018-09-12 17:03:46 -04:00

16 lines
304 B
C++

#pragma once
namespace charcoal
{
template <typename VertexType, typename IndexType>
struct Mesh
{
typedef VertexType VertexType;
typedef IndexType IndexType;
VertexType* vertices = nullptr;
unsigned int vertex_count = 0;
IndexType* indices = nullptr;
unsigned int index_count = 0;
};
}