This commit templatizes the vertex classes on voxel types. This was the main change which was made for Cubiquity and it's very messy at the moment. However, this will improve when we make more use of 'auto' to hide the template madness.
This commit is contained in:
@ -184,7 +184,7 @@ void TestVolumeSubclass::testExtractSurface()
|
||||
}
|
||||
}
|
||||
|
||||
SurfaceMesh<PositionMaterialNormal> result;
|
||||
SurfaceMesh<PositionMaterialNormal<Material8> > result;
|
||||
CubicSurfaceExtractor< VolumeSubclass<Material8> > cubicSurfaceExtractor(&volumeSubclass, volumeSubclass.getEnclosingRegion(), &result);
|
||||
cubicSurfaceExtractor.execute();
|
||||
|
||||
|
Reference in New Issue
Block a user