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:
David Williams
2010-05-23 21:51:34 +00:00
parent e1dde122a7
commit 7ffcd0c7ed
190 changed files with 69 additions and 19405 deletions

View File

@ -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>