16 lines
304 B
C++
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;
|
|
};
|
|
} |