Removed PolyVoxForwardDeclarations.h. It was a source of confusion because the forward declarations often got out of sync with the real definitions, resulting in confusing template error messages. Furthermore, it does not appear to have actually hurt compile times so I guess it wasn't that useful (or wasn't being used to it's fullest potential). Overall I think PolyVox is not large enough to really benefit from this.
This commit is contained in:
@ -26,7 +26,6 @@ freely, subject to the following restrictions:
|
||||
|
||||
#include "Impl/PlatformDefinitions.h"
|
||||
|
||||
#include "PolyVoxForwardDeclarations.h"
|
||||
#include "Region.h"
|
||||
#include "Vertex.h" //Should probably do away with this on in the future...
|
||||
|
||||
@ -39,7 +38,8 @@ freely, subject to the following restrictions:
|
||||
|
||||
namespace PolyVox
|
||||
{
|
||||
template <typename _VertexType, typename _IndexType>
|
||||
typedef uint32_t DefaultIndexType;
|
||||
template <typename _VertexType, typename _IndexType = DefaultIndexType>
|
||||
class Mesh
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user