diff --git a/examples/Basic/main.cpp b/examples/Basic/main.cpp index 98d777ac..a7d04005 100644 --- a/examples/Basic/main.cpp +++ b/examples/Basic/main.cpp @@ -159,7 +159,7 @@ int main(int argc, char *argv[]) createSphereInVolume(volData, 24); //Extract the surface - Region region(Vector3DInt16(-1,-1,-1), Vector3DInt16(32,32,32)); + PolyVox::Region region(Vector3DInt16(-1,-1,-1), Vector3DInt16(32,32,32)); SurfaceMesh mesh; //CubicSurfaceExtractor surfaceExtractor(&volData, volData.getEnclosingRegion(), &mesh); diff --git a/library/PolyVoxCore/include/MeshDecimator.inl b/library/PolyVoxCore/include/MeshDecimator.inl index 87b17e18..bedfbbdf 100644 --- a/library/PolyVoxCore/include/MeshDecimator.inl +++ b/library/PolyVoxCore/include/MeshDecimator.inl @@ -112,6 +112,7 @@ namespace PolyVox } } + template<> void MeshDecimator::fillInitialVertexMetadata(std::vector& vecVertexMetadata) { vecVertexMetadata.clear(); @@ -171,6 +172,7 @@ namespace PolyVox } } + template<> void MeshDecimator::fillInitialVertexMetadata(std::vector& vecVertexMetadata) { vecVertexMetadata.clear();