Renamed 'Typedef.h' to 'PlatformDefinitions.h'.
This commit is contained in:
parent
64c30044b0
commit
2a8e0a5f7b
@ -84,10 +84,10 @@ SET(IMPL_INC_FILES
|
|||||||
PolyVox/Impl/ErrorHandling.h
|
PolyVox/Impl/ErrorHandling.h
|
||||||
PolyVox/Impl/Logging.h
|
PolyVox/Impl/Logging.h
|
||||||
PolyVox/Impl/MarchingCubesTables.h
|
PolyVox/Impl/MarchingCubesTables.h
|
||||||
|
PolyVox/Impl/PlatformDefinitions.h
|
||||||
PolyVox/Impl/RandomUnitVectors.h
|
PolyVox/Impl/RandomUnitVectors.h
|
||||||
PolyVox/Impl/RandomVectors.h
|
PolyVox/Impl/RandomVectors.h
|
||||||
PolyVox/Impl/Timer.h
|
PolyVox/Impl/Timer.h
|
||||||
PolyVox/Impl/TypeDef.h
|
|
||||||
PolyVox/Impl/Utility.h
|
PolyVox/Impl/Utility.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ freely, subject to the following restrictions:
|
|||||||
#define __PolyVox_AStarPathfinder_H__
|
#define __PolyVox_AStarPathfinder_H__
|
||||||
|
|
||||||
#include "Impl/AStarPathfinderImpl.h"
|
#include "Impl/AStarPathfinderImpl.h"
|
||||||
#include "Impl/TypeDef.h"
|
#include "Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
@ -24,7 +24,7 @@ distribution.
|
|||||||
#ifndef __PolyVox_Array_H__
|
#ifndef __PolyVox_Array_H__
|
||||||
#define __PolyVox_Array_H__
|
#define __PolyVox_Array_H__
|
||||||
|
|
||||||
#include <PolyVox/Impl/Typedef.h>
|
#include <PolyVox/Impl/PlatformDefinitions.h>
|
||||||
#include <PolyVox/Impl/ErrorHandling.h>
|
#include <PolyVox/Impl/ErrorHandling.h>
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
@ -24,7 +24,7 @@ freely, subject to the following restrictions:
|
|||||||
#ifndef __PolyVox_CubicSurfaceExtractor_H__
|
#ifndef __PolyVox_CubicSurfaceExtractor_H__
|
||||||
#define __PolyVox_CubicSurfaceExtractor_H__
|
#define __PolyVox_CubicSurfaceExtractor_H__
|
||||||
|
|
||||||
#include "Impl/TypeDef.h"
|
#include "Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include "PolyVoxForwardDeclarations.h"
|
#include "PolyVoxForwardDeclarations.h"
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ freely, subject to the following restrictions:
|
|||||||
#ifndef __PolyVox_DefaultIsQuadNeeded_H__
|
#ifndef __PolyVox_DefaultIsQuadNeeded_H__
|
||||||
#define __PolyVox_DefaultIsQuadNeeded_H__
|
#define __PolyVox_DefaultIsQuadNeeded_H__
|
||||||
|
|
||||||
#include "PolyVox/Impl/TypeDef.h"
|
#include "PolyVox/Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ freely, subject to the following restrictions:
|
|||||||
|
|
||||||
#include "PolyVox/DefaultMarchingCubesController.h" //We'll specialise the controller contained in here
|
#include "PolyVox/DefaultMarchingCubesController.h" //We'll specialise the controller contained in here
|
||||||
|
|
||||||
#include "Impl/TypeDef.h"
|
#include "Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ freely, subject to the following restrictions:
|
|||||||
#ifndef __PolyVox_FilePager_H__
|
#ifndef __PolyVox_FilePager_H__
|
||||||
#define __PolyVox_FilePager_H__
|
#define __PolyVox_FilePager_H__
|
||||||
|
|
||||||
#include "PolyVox/Impl/TypeDef.h"
|
#include "PolyVox/Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include "PolyVox/PagedVolume.h"
|
#include "PolyVox/PagedVolume.h"
|
||||||
#include "PolyVox/Region.h"
|
#include "PolyVox/Region.h"
|
||||||
|
@ -21,8 +21,12 @@ freely, subject to the following restrictions:
|
|||||||
distribution.
|
distribution.
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
#ifndef __PolyVox_TypeDef_H__
|
/**
|
||||||
#define __PolyVox_TypeDef_H__
|
* This file contains definitions for various macros, etc, which need to be different
|
||||||
|
* for each platform. It helps keep per-platform logic outside the rest of PolyVox.
|
||||||
|
*/
|
||||||
|
#ifndef __PolyVox_PlatformDefinitions_H__
|
||||||
|
#define __PolyVox_PlatformDefinitions_H__
|
||||||
|
|
||||||
#if defined(_MSC_VER) && (_MSC_VER < 1800)
|
#if defined(_MSC_VER) && (_MSC_VER < 1800)
|
||||||
#error "Your version of Visual Studio is too old to build PolyVox. You need at least version Visual Stusio 2013"
|
#error "Your version of Visual Studio is too old to build PolyVox. You need at least version Visual Stusio 2013"
|
||||||
@ -91,4 +95,4 @@ freely, subject to the following restrictions:
|
|||||||
// Implementation from here: http://stackoverflow.com/a/4851173/2337254
|
// Implementation from here: http://stackoverflow.com/a/4851173/2337254
|
||||||
#define POLYVOX_UNUSED(x) do { (void)sizeof(x); } while(0)
|
#define POLYVOX_UNUSED(x) do { (void)sizeof(x); } while(0)
|
||||||
|
|
||||||
#endif
|
#endif //__PolyVox_PlatformDefinitions_H__
|
@ -24,7 +24,7 @@ freely, subject to the following restrictions:
|
|||||||
#ifndef __PolyVox_RandomUnitVectors_H__
|
#ifndef __PolyVox_RandomUnitVectors_H__
|
||||||
#define __PolyVox_RandomUnitVectors_H__
|
#define __PolyVox_RandomUnitVectors_H__
|
||||||
|
|
||||||
#include "PolyVox/Impl/TypeDef.h"
|
#include "PolyVox/Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include "PolyVox/Vector.h"
|
#include "PolyVox/Vector.h"
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ freely, subject to the following restrictions:
|
|||||||
#ifndef __PolyVox_Utility_H__
|
#ifndef __PolyVox_Utility_H__
|
||||||
#define __PolyVox_Utility_H__
|
#define __PolyVox_Utility_H__
|
||||||
|
|
||||||
#include "PolyVox/Impl/TypeDef.h"
|
#include "PolyVox/Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ freely, subject to the following restrictions:
|
|||||||
#define __PolyVox_SurfaceExtractor_H__
|
#define __PolyVox_SurfaceExtractor_H__
|
||||||
|
|
||||||
#include "Impl/MarchingCubesTables.h"
|
#include "Impl/MarchingCubesTables.h"
|
||||||
#include "Impl/TypeDef.h"
|
#include "Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include "PolyVox/Array.h"
|
#include "PolyVox/Array.h"
|
||||||
#include "PolyVox/BaseVolume.h" //For wrap modes... should move these?
|
#include "PolyVox/BaseVolume.h" //For wrap modes... should move these?
|
||||||
|
@ -24,7 +24,7 @@ freely, subject to the following restrictions:
|
|||||||
#ifndef __PolyVox_Material_H__
|
#ifndef __PolyVox_Material_H__
|
||||||
#define __PolyVox_Material_H__
|
#define __PolyVox_Material_H__
|
||||||
|
|
||||||
#include "Impl/TypeDef.h"
|
#include "Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include "PolyVox/DefaultIsQuadNeeded.h" //we'll specialise this function for this voxel type
|
#include "PolyVox/DefaultIsQuadNeeded.h" //we'll specialise this function for this voxel type
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ freely, subject to the following restrictions:
|
|||||||
#include "PolyVox/DefaultIsQuadNeeded.h" //we'll specialise this function for this voxel type
|
#include "PolyVox/DefaultIsQuadNeeded.h" //we'll specialise this function for this voxel type
|
||||||
#include "PolyVox/DefaultMarchingCubesController.h" //We'll specialise the controller contained in here
|
#include "PolyVox/DefaultMarchingCubesController.h" //We'll specialise the controller contained in here
|
||||||
|
|
||||||
#include "Impl/TypeDef.h"
|
#include "Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
namespace PolyVox
|
namespace PolyVox
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@ freely, subject to the following restrictions:
|
|||||||
#ifndef __PolyVox_Mesh_H__
|
#ifndef __PolyVox_Mesh_H__
|
||||||
#define __PolyVox_Mesh_H__
|
#define __PolyVox_Mesh_H__
|
||||||
|
|
||||||
#include "Impl/TypeDef.h"
|
#include "Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include "PolyVox/PolyVoxForwardDeclarations.h"
|
#include "PolyVox/PolyVoxForwardDeclarations.h"
|
||||||
#include "PolyVox/Region.h"
|
#include "PolyVox/Region.h"
|
||||||
|
@ -24,7 +24,7 @@ freely, subject to the following restrictions:
|
|||||||
#ifndef __PolyVox_ForwardDeclarations_H__
|
#ifndef __PolyVox_ForwardDeclarations_H__
|
||||||
#define __PolyVox_ForwardDeclarations_H__
|
#define __PolyVox_ForwardDeclarations_H__
|
||||||
|
|
||||||
#include "Impl/TypeDef.h"
|
#include "Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ freely, subject to the following restrictions:
|
|||||||
#ifndef __PolyVox_Region_H__
|
#ifndef __PolyVox_Region_H__
|
||||||
#define __PolyVox_Region_H__
|
#define __PolyVox_Region_H__
|
||||||
|
|
||||||
#include "Impl/TypeDef.h"
|
#include "Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include "PolyVox/Vector.h"
|
#include "PolyVox/Vector.h"
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ freely, subject to the following restrictions:
|
|||||||
#define __PolyVox_Vector_H__
|
#define __PolyVox_Vector_H__
|
||||||
|
|
||||||
#include "Impl/ErrorHandling.h"
|
#include "Impl/ErrorHandling.h"
|
||||||
#include "Impl/TypeDef.h"
|
#include "Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include "PolyVoxForwardDeclarations.h"
|
#include "PolyVoxForwardDeclarations.h"
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ freely, subject to the following restrictions:
|
|||||||
#ifndef __PolyVox_Vertex_H__
|
#ifndef __PolyVox_Vertex_H__
|
||||||
#define __PolyVox_Vertex_H__
|
#define __PolyVox_Vertex_H__
|
||||||
|
|
||||||
#include "Impl/TypeDef.h"
|
#include "Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
#include "PolyVox/Vector.h"
|
#include "PolyVox/Vector.h"
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ freely, subject to the following restrictions:
|
|||||||
#ifndef __PolyVox_VoxelFilters_H__
|
#ifndef __PolyVox_VoxelFilters_H__
|
||||||
#define __PolyVox_VoxelFilters_H__
|
#define __PolyVox_VoxelFilters_H__
|
||||||
|
|
||||||
#include "Impl/TypeDef.h"
|
#include "Impl/PlatformDefinitions.h"
|
||||||
|
|
||||||
namespace PolyVox
|
namespace PolyVox
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user