So I'm going to start out saying i'm a noob at C++ and PolyVox.
However, I am working on integrating PolyVox into Ogre, and I keep getting this error:
Code:
1>src\ChocolateRain.cpp(132): error C2664: 'PolyVox::CubicSurfaceExtractorWithNormals<VolumeType,VoxelType>::CubicSurfaceExtractorWithNormals(PolyVox::SimpleVolume<VoxelType> *,PolyVox::Region,PolyVox::SurfaceMesh<VertexType> *)' : cannot convert parameter 3 from 'PolyVox::SurfaceMesh<VertexType> *' to 'PolyVox::SurfaceMesh<VertexType> *'
1> with
1> [
1> VolumeType=PolyVox::SimpleVolume,
1> VoxelType=PolyVox::Material8,
1> VertexType=PolyVox::PositionMaterialNormal
1> ]
1> and
1> [
1> VertexType=PolyVox::Material8
1> ]
1> and
1> [
1> VertexType=PolyVox::PositionMaterialNormal
1> ]
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Maybe i'm just being noobish, but any help would be appreciated.