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:
@ -27,8 +27,6 @@ freely, subject to the following restrictions:
|
||||
#include "Impl/ErrorHandling.h"
|
||||
#include "Impl/PlatformDefinitions.h"
|
||||
|
||||
#include "PolyVoxForwardDeclarations.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
@ -64,7 +62,7 @@ namespace PolyVox
|
||||
* Vector2DInt32 test(1,2); //Declares a 2 dimensional Vector of type int32_t.
|
||||
* \endcode
|
||||
*/
|
||||
template <uint32_t Size, typename StorageType, typename OperationType>
|
||||
template <uint32_t Size, typename StorageType, typename OperationType = StorageType>
|
||||
class Vector
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user