Move to VS 2010.
Update to Ogre SDK 1.7.1 Removed support for compilers which don't adhere to C++0X
This commit is contained in:
@ -28,6 +28,8 @@ freely, subject to the following restrictions:
|
||||
#include "PolyVoxImpl/MarchingCubesTables.h"
|
||||
#include "SurfaceVertex.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace PolyVox
|
||||
{
|
||||
SurfaceExtractor::SurfaceExtractor(Volume<uint8_t>& volData)
|
||||
@ -36,7 +38,7 @@ namespace PolyVox
|
||||
{
|
||||
}
|
||||
|
||||
POLYVOX_SHARED_PTR<SurfaceMesh> SurfaceExtractor::extractSurfaceForRegion(Region region)
|
||||
shared_ptr<SurfaceMesh> SurfaceExtractor::extractSurfaceForRegion(Region region)
|
||||
{
|
||||
m_regInputUncropped = region;
|
||||
|
||||
@ -148,7 +150,7 @@ namespace PolyVox
|
||||
lodRecord.endIndex = m_meshCurrent->getNoOfIndices();
|
||||
m_meshCurrent->m_vecLodRecords.push_back(lodRecord);
|
||||
|
||||
return POLYVOX_SHARED_PTR<SurfaceMesh>(m_meshCurrent);
|
||||
return shared_ptr<SurfaceMesh>(m_meshCurrent);
|
||||
}
|
||||
|
||||
template<bool isPrevZAvail>
|
||||
|
@ -349,9 +349,9 @@ namespace PolyVox
|
||||
}
|
||||
}
|
||||
|
||||
POLYVOX_SHARED_PTR<SurfaceMesh> SurfaceMesh::extractSubset(std::set<uint8_t> setMaterials)
|
||||
shared_ptr<SurfaceMesh> SurfaceMesh::extractSubset(std::set<uint8_t> setMaterials)
|
||||
{
|
||||
POLYVOX_SHARED_PTR<SurfaceMesh> result(new SurfaceMesh);
|
||||
shared_ptr<SurfaceMesh> result(new SurfaceMesh);
|
||||
|
||||
if(m_vecVertices.size() == 0) //FIXME - I don't think we should need this test, but I have seen crashes otherwise...
|
||||
{
|
||||
|
Reference in New Issue
Block a user