Removed all the #pragma region/endregions as these were causing compile warnings from GCC and weren't that useful anyway...

This commit is contained in:
David Williams
2010-10-12 22:22:38 +00:00
parent 059ca90f08
commit 56ec37f5e2
45 changed files with 0 additions and 177 deletions

View File

@ -1,4 +1,3 @@
#pragma region License
/*******************************************************************************
Copyright (c) 2005-2009 David Williams
@ -21,14 +20,11 @@ misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
*******************************************************************************/
#pragma endregion
#ifndef __PolyVox_ArraySizesImpl_H__
#define __PolyVox_ArraySizesImpl_H__
#pragma region Headers
#include "TypeDef.h"
#pragma endregion
namespace PolyVox
{

View File

@ -1,4 +1,3 @@
#pragma region License
/*******************************************************************************
Copyright (c) 2005-2009 David Williams
@ -21,7 +20,6 @@ misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
*******************************************************************************/
#pragma endregion
#include <algorithm>

View File

@ -1,4 +1,3 @@
#pragma region License
/*******************************************************************************
Copyright (c) 2005-2009 David Williams
@ -21,14 +20,11 @@ freely, subject to the following restrictions:
3. This notice may not be removed or altered from any source
distribution.
*******************************************************************************/
#pragma endregion
#ifndef __PolyVox_Block_H__
#define __PolyVox_Block_H__
#pragma region Headers
#include "PolyVoxForwardDeclarations.h"
#pragma endregion
namespace PolyVox
{

View File

@ -1,4 +1,3 @@
#pragma region License
/*******************************************************************************
Copyright (c) 2005-2009 David Williams
@ -21,9 +20,7 @@ freely, subject to the following restrictions:
3. This notice may not be removed or altered from any source
distribution.
*******************************************************************************/
#pragma endregion
#pragma region Headers
#include "PolyVoxImpl/Utility.h"
#include "Vector.h"
#include "Volume.h"
@ -31,11 +28,9 @@ freely, subject to the following restrictions:
#include <cassert>
#include <cstring> //For memcpy
#include <stdexcept> //for std::invalid_argument
#pragma endregion
namespace PolyVox
{
#pragma region Constructors/Destructors
template <typename VoxelType>
Block<VoxelType>::Block(uint16_t uSideLength)
:m_tData(0)
@ -70,9 +65,7 @@ namespace PolyVox
delete[] m_tData;
m_tData = 0;
}
#pragma endregion
#pragma region Operators
template <typename VoxelType>
Block<VoxelType>& Block<VoxelType>::operator=(const Block<VoxelType>& rhs)
{
@ -92,9 +85,7 @@ namespace PolyVox
return *this;
}
#pragma endregion
#pragma region Getters
template <typename VoxelType>
uint16_t Block<VoxelType>::getSideLength(void) const
{
@ -121,9 +112,7 @@ namespace PolyVox
{
return getVoxelAt(v3dPos.getX(), v3dPos.getY(), v3dPos.getZ());
}
#pragma endregion
#pragma region Setters
template <typename VoxelType>
void Block<VoxelType>::setVoxelAt(uint16_t uXPos, uint16_t uYPos, uint16_t uZPos, VoxelType tValue)
{
@ -144,9 +133,7 @@ namespace PolyVox
{
setVoxelAt(v3dPos.getX(), v3dPos.getY(), v3dPos.getZ(), tValue);
}
#pragma endregion
#pragma region Other
template <typename VoxelType>
void Block<VoxelType>::fill(VoxelType tValue)
{
@ -187,5 +174,4 @@ namespace PolyVox
return uSizeInChars;
}
#pragma endregion
}

View File

@ -1,4 +1,3 @@
#pragma region License
/*******************************************************************************
Copyright (c) 2005-2009 David Williams
@ -21,7 +20,6 @@ freely, subject to the following restrictions:
3. This notice may not be removed or altered from any source
distribution.
*******************************************************************************/
#pragma endregion
#ifndef __PolyVox_MarchingCubeTables_H__
#define __PolyVox_MarchingCubeTables_H__

View File

@ -1,4 +1,3 @@
#pragma region License
/*******************************************************************************
Copyright (c) 2005-2009 David Williams
@ -21,14 +20,10 @@ freely, subject to the following restrictions:
3. This notice may not be removed or altered from any source
distribution.
*******************************************************************************/
#pragma endregion
#ifndef __PolyVox_SubArray_H__
#define __PolyVox_SubArray_H__
#pragma region Headers
#pragma endregion
namespace PolyVox
{
template <uint32_t noOfDims, typename ElementType> class Array;

View File

@ -1,4 +1,3 @@
#pragma region License
/*******************************************************************************
Copyright (c) 2005-2009 David Williams
@ -21,7 +20,6 @@ misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
*******************************************************************************/
#pragma endregion
#include <cassert>

View File

@ -1,4 +1,3 @@
#pragma region License
/*******************************************************************************
Copyright (c) 2005-2009 David Williams
@ -21,7 +20,6 @@ freely, subject to the following restrictions:
3. This notice may not be removed or altered from any source
distribution.
*******************************************************************************/
#pragma endregion
#ifndef __PolyVox_TypeDef_H__
#define __PolyVox_TypeDef_H__

View File

@ -1,4 +1,3 @@
#pragma region License
/*******************************************************************************
Copyright (c) 2005-2009 David Williams
@ -21,7 +20,6 @@ freely, subject to the following restrictions:
3. This notice may not be removed or altered from any source
distribution.
*******************************************************************************/
#pragma endregion
#ifndef __PolyVox_Utility_H__
#define __PolyVox_Utility_H__