2018-09-05 15:47:09 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
template <typename VertexType, typename IndexType>
|
|
|
|
struct Mesh
|
|
|
|
{
|
2018-09-07 03:22:40 +00:00
|
|
|
typedef VertexType VertexType;
|
|
|
|
typedef IndexType IndexType;
|
|
|
|
|
2018-09-05 15:47:09 +00:00
|
|
|
VertexType* vertices = nullptr;
|
|
|
|
unsigned int vertex_count = 0;
|
|
|
|
IndexType* indices = nullptr;
|
|
|
|
unsigned int index_count = 0;
|
|
|
|
};
|