Fix to mesh declaration.

This commit is contained in:
David Williams 2014-06-03 21:37:22 +02:00
parent 6bedd40694
commit b1c03c9f9c
2 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,7 @@ freely, subject to the following restrictions:
#include "Impl/TypeDef.h" #include "Impl/TypeDef.h"
#include "PolyVoxCore/PolyVoxForwardDeclarations.h"
#include "PolyVoxCore/Region.h" #include "PolyVoxCore/Region.h"
#include "PolyVoxCore/Vertex.h" //Should probably do away with this on in the future... #include "PolyVoxCore/Vertex.h" //Should probably do away with this on in the future...
@ -38,7 +39,7 @@ freely, subject to the following restrictions:
namespace PolyVox namespace PolyVox
{ {
template <typename VertexType, typename IndexType = uint32_t> template <typename VertexType, typename IndexType>
class Mesh class Mesh
{ {
public: public:

View File

@ -142,7 +142,7 @@ namespace PolyVox
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Mesh // Mesh
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VertexType, typename IndexType> class Mesh; template <typename VertexType, typename IndexType = uint32_t> class Mesh;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Pager // Pager