Fixes for build errors on Linux.
This commit is contained in:
parent
c9a084e160
commit
73ff9e16b2
@ -101,8 +101,8 @@ int main(int argc, char *argv[])
|
|||||||
createCubeInVolume(volData, Vector3DUint16(midPos-10, midPos-10 ,1), Vector3DUint16(midPos+10, midPos+10, maxPos-1), MaterialDensityPair44::getMaxDensity());
|
createCubeInVolume(volData, Vector3DUint16(midPos-10, midPos-10 ,1), Vector3DUint16(midPos+10, midPos+10, maxPos-1), MaterialDensityPair44::getMaxDensity());
|
||||||
|
|
||||||
//Smooth part of the volume
|
//Smooth part of the volume
|
||||||
smoothRegion<MaterialDensityPair44>(volData, Region(Vector3DInt16(62, 62, 62), Vector3DInt16(130, 130, 130)));
|
smoothRegion<MaterialDensityPair44>(volData, PolyVox::Region(Vector3DInt16(62, 62, 62), Vector3DInt16(130, 130, 130)));
|
||||||
smoothRegion<MaterialDensityPair44>(volData, Region(Vector3DInt16(62, 62, 62), Vector3DInt16(130, 130, 130)));
|
smoothRegion<MaterialDensityPair44>(volData, PolyVox::Region(Vector3DInt16(62, 62, 62), Vector3DInt16(130, 130, 130)));
|
||||||
|
|
||||||
cout << "Tidying memory...";
|
cout << "Tidying memory...";
|
||||||
volData.tidyUpMemory(0);
|
volData.tidyUpMemory(0);
|
||||||
|
@ -28,7 +28,7 @@ distribution.
|
|||||||
|
|
||||||
#pragma region Headers
|
#pragma region Headers
|
||||||
#include "PolyVoxImpl/ArraySizesImpl.h"
|
#include "PolyVoxImpl/ArraySizesImpl.h"
|
||||||
#include "PolyVoxImpl/Typedef.h"
|
#include "PolyVoxImpl/TypeDef.h"
|
||||||
#pragma endregion
|
#pragma endregion
|
||||||
|
|
||||||
namespace PolyVox
|
namespace PolyVox
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#include "MaterialDensityPair.h"
|
||||||
|
|
||||||
namespace PolyVox
|
namespace PolyVox
|
||||||
{
|
{
|
||||||
template <typename VoxelType>
|
template <typename VoxelType>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user