Moved core code from Ogre namespace to PolyVox namespace.
This commit is contained in:
@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
#include "TypeDef.h"
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
|
||||
class VOXEL_SCENE_MANAGER_API Block
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include "boost/cstdint.hpp"
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
//FIXME - i think we can define mod using a bitmask which flattens the upper bits. Should define that here.
|
||||
const boost::uint32_t OGRE_BLOCK_SIDE_LENGTH_POWER = 5;
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "VolumeIterator.h"
|
||||
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
class VOXEL_SCENE_MANAGER_API IndexedSurfacePatch
|
||||
{
|
||||
|
@ -21,9 +21,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
#include "boost/cstdint.hpp"
|
||||
|
||||
#include "Vector.hpp"
|
||||
#include "Vector.h"
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
template <typename Type> class IntegralVector3
|
||||
{
|
||||
|
10
include/MarchingCubesTables.h
Normal file
10
include/MarchingCubesTables.h
Normal file
@ -0,0 +1,10 @@
|
||||
#ifndef MARCHING_CUBES_TABLES_HEADER_INCLUDED
|
||||
#define MARCHING_CUBES_TABLES_HEADER_INCLUDED
|
||||
|
||||
namespace PolyVox
|
||||
{
|
||||
extern int edgeTable[256];
|
||||
extern int triTable[256][16];
|
||||
}
|
||||
|
||||
#endif
|
@ -32,11 +32,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#include "SurfaceVertex.h"
|
||||
#include "RegionGeometry.h"
|
||||
|
||||
#include "Vector.hpp"
|
||||
#include "Vector.h"
|
||||
|
||||
#include <set>
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
enum NormalGenerationMethod
|
||||
{
|
||||
|
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#include "IndexedSurfacePatch.h"
|
||||
#include "IntegralVector3.h"
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
class RegionGeometry
|
||||
{
|
||||
|
@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
#include "SurfaceTypes.h"
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
class SurfaceEdge
|
||||
{
|
||||
|
@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
#include "SurfaceTypes.h"
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
class SurfaceTriangle
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include <set>
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
class SurfaceVertex;
|
||||
typedef std::set<SurfaceVertex>::iterator SurfaceVertexIterator;
|
||||
|
@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#include "IntegralVector3.h"
|
||||
#include "SurfaceTypes.h"
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
class VOXEL_SCENE_MANAGER_API SurfaceVertex
|
||||
{
|
||||
|
@ -6,7 +6,7 @@
|
||||
//#include "..\Base\Typedef.hpp"
|
||||
#include "boost/cstdint.hpp"
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
//template <boost::uint32_t Size, typename Type> class Matrix; //Forward declaration
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <cmath>
|
||||
#include <string>
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
/**
|
||||
This Vector class is templated on both size and data type. It is designed to be
|
||||
|
@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#include "TypeDef.h"
|
||||
#include "IntegralVector3.h"
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
class VOXEL_SCENE_MANAGER_API Volume
|
||||
{
|
||||
|
@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
#include "TypeDef.h"
|
||||
|
||||
namespace Ogre
|
||||
namespace PolyVox
|
||||
{
|
||||
class Volume;
|
||||
|
||||
|
Reference in New Issue
Block a user