Fix compilation on Linux:
- The template addition is apparently a C++ Standard thing which is a bit of a mess but the way GCC interprets it requires these. - In XOrg there is a struct called 'Region' which causes ambiguities. For some reason doing 'using PolyVox::Region' didn't fix it.
This commit is contained in:
@ -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<PositionMaterial> mesh;
|
||||
//CubicSurfaceExtractor<MaterialDensityPair44> surfaceExtractor(&volData, volData.getEnclosingRegion(), &mesh);
|
||||
|
||||
|
Reference in New Issue
Block a user