Add newlines to end of files to silence compiler warnings
This commit is contained in:
parent
8bb5d03636
commit
8e4135ad41
@ -149,4 +149,4 @@ void OpenGLWidget::mouseMoveEvent(QMouseEvent* event)
|
|||||||
m_LastFrameMousePos = m_CurrentMousePos;
|
m_LastFrameMousePos = m_CurrentMousePos;
|
||||||
|
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
@ -64,4 +64,4 @@ private:
|
|||||||
int m_yRotation;
|
int m_yRotation;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__BasicExample_OpenGLWidget_H__
|
#endif //__BasicExample_OpenGLWidget_H__
|
||||||
|
@ -248,4 +248,4 @@ void OpenGLWidget::setupProjectionMatrix(void)
|
|||||||
float aspect = static_cast<float>(width()) / static_cast<float>(height());
|
float aspect = static_cast<float>(width()) / static_cast<float>(height());
|
||||||
|
|
||||||
glOrtho(frustumSize*aspect, -frustumSize*aspect, frustumSize, -frustumSize, 1.0, 5000);
|
glOrtho(frustumSize*aspect, -frustumSize*aspect, frustumSize, -frustumSize, 1.0, 5000);
|
||||||
}
|
}
|
||||||
|
@ -80,4 +80,4 @@ class OpenGLWidget : public QGLWidget
|
|||||||
unsigned int m_uVolumeDepthInRegions;
|
unsigned int m_uVolumeDepthInRegions;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__PolyVox_OpenGLWidget_H__
|
#endif //__PolyVox_OpenGLWidget_H__
|
||||||
|
@ -132,4 +132,4 @@ void OpenGLWidget::mouseMoveEvent(QMouseEvent* event)
|
|||||||
m_LastFrameMousePos = m_CurrentMousePos;
|
m_LastFrameMousePos = m_CurrentMousePos;
|
||||||
|
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
@ -64,4 +64,4 @@ private:
|
|||||||
int m_yRotation;
|
int m_yRotation;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__BasicExample_OpenGLWidget_H__
|
#endif //__BasicExample_OpenGLWidget_H__
|
||||||
|
@ -183,4 +183,4 @@ void OpenGLWidget::mouseMoveEvent(QMouseEvent* event)
|
|||||||
m_LastFrameMousePos = m_CurrentMousePos;
|
m_LastFrameMousePos = m_CurrentMousePos;
|
||||||
|
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
@ -71,4 +71,4 @@ private:
|
|||||||
int m_yRotation;
|
int m_yRotation;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__BasicExample_OpenGLWidget_H__
|
#endif //__BasicExample_OpenGLWidget_H__
|
||||||
|
@ -326,4 +326,4 @@ namespace PolyVox
|
|||||||
hVal += fHash;
|
hVal += fHash;
|
||||||
return hVal;
|
return hVal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -131,4 +131,4 @@ namespace PolyVox
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -74,4 +74,4 @@ namespace PolyVox
|
|||||||
};
|
};
|
||||||
}//namespace PolyVox
|
}//namespace PolyVox
|
||||||
|
|
||||||
#endif //__PolyVox_ArraySizes_H__
|
#endif //__PolyVox_ArraySizes_H__
|
||||||
|
@ -76,4 +76,4 @@ namespace PolyVox
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif //__PolyVox_ConstVolumeProxy_H__
|
#endif //__PolyVox_ConstVolumeProxy_H__
|
||||||
|
@ -344,4 +344,4 @@ namespace PolyVox
|
|||||||
//Quads cannot be merged.
|
//Quads cannot be merged.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -139,4 +139,4 @@ namespace PolyVox
|
|||||||
lodRecord.endIndex = m_meshCurrent->getNoOfIndices();
|
lodRecord.endIndex = m_meshCurrent->getNoOfIndices();
|
||||||
m_meshCurrent->m_vecLodRecords.push_back(lodRecord);
|
m_meshCurrent->m_vecLodRecords.push_back(lodRecord);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -530,4 +530,4 @@ namespace PolyVox
|
|||||||
}
|
}
|
||||||
|
|
||||||
#undef BORDER_LOW
|
#undef BORDER_LOW
|
||||||
#undef BORDER_HIGH
|
#undef BORDER_HIGH
|
||||||
|
@ -60,4 +60,4 @@ namespace PolyVox
|
|||||||
#define POLYVOX_LOG_WARN(message) if(logHandler){logHandler(message, LS_WARN);}
|
#define POLYVOX_LOG_WARN(message) if(logHandler){logHandler(message, LS_WARN);}
|
||||||
#define POLYVOX_LOG_ERROR(message) if(logHandler){logHandler(message, LS_ERROR);}
|
#define POLYVOX_LOG_ERROR(message) if(logHandler){logHandler(message, LS_ERROR);}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -124,4 +124,4 @@ namespace PolyVox
|
|||||||
typename VoxelTypeTraits<MaterialDensityPair88>::MaterialType convertToMaterial(MaterialDensityPair88 voxel);
|
typename VoxelTypeTraits<MaterialDensityPair88>::MaterialType convertToMaterial(MaterialDensityPair88 voxel);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -437,4 +437,4 @@ namespace PolyVox
|
|||||||
#undef BORDER_LOWY
|
#undef BORDER_LOWY
|
||||||
#undef BORDER_HIGHY
|
#undef BORDER_HIGHY
|
||||||
#undef BORDER_LOWZ
|
#undef BORDER_LOWZ
|
||||||
#undef BORDER_HIGHZ
|
#undef BORDER_HIGHZ
|
||||||
|
@ -122,4 +122,4 @@ namespace PolyVox
|
|||||||
|
|
||||||
#include "PolyVoxCore/Raycast.inl"
|
#include "PolyVoxCore/Raycast.inl"
|
||||||
|
|
||||||
#endif //__PolyVox_Raycast_H__
|
#endif //__PolyVox_Raycast_H__
|
||||||
|
@ -179,4 +179,4 @@ namespace PolyVox
|
|||||||
m_result.intersectionVoxel = Vector3DInt32(0,0,0);
|
m_result.intersectionVoxel = Vector3DInt32(0,0,0);
|
||||||
m_result.previousVoxel = Vector3DInt32(0,0,0);
|
m_result.previousVoxel = Vector3DInt32(0,0,0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -485,4 +485,4 @@ namespace PolyVox
|
|||||||
m_vecVertices[ct].setPosition(position);
|
m_vecVertices[ct].setPosition(position);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -32,4 +32,4 @@ namespace PolyVox
|
|||||||
float computeSmoothedVoxel(typename VolumeType<uint8_t>::Sampler& volIter);
|
float computeSmoothedVoxel(typename VolumeType<uint8_t>::Sampler& volIter);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -221,4 +221,4 @@ namespace PolyVox
|
|||||||
//bool operator<(const AllNodesContainer::iterator& lhs, const AllNodesContainer::iterator& rhs);
|
//bool operator<(const AllNodesContainer::iterator& lhs, const AllNodesContainer::iterator& rhs);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif //__PolyVox_AStarPathfinderImpl_H__
|
#endif //__PolyVox_AStarPathfinderImpl_H__
|
||||||
|
@ -43,4 +43,4 @@ namespace PolyVox
|
|||||||
std::copy(&pSizes[0],&pSizes[N-1],m_pSizes);
|
std::copy(&pSizes[0],&pSizes[N-1],m_pSizes);
|
||||||
m_pSizes[N-1]=uSize;
|
m_pSizes[N-1]=uSize;
|
||||||
}
|
}
|
||||||
}//namespace PolyVox
|
}//namespace PolyVox
|
||||||
|
@ -85,4 +85,4 @@ namespace PolyVox
|
|||||||
|
|
||||||
#include "PolyVoxImpl/SubArray.inl"
|
#include "PolyVoxImpl/SubArray.inl"
|
||||||
|
|
||||||
#endif //__PolyVox_SubArray_H__
|
#endif //__PolyVox_SubArray_H__
|
||||||
|
@ -64,4 +64,4 @@ namespace PolyVox
|
|||||||
Vector3DInt32(+1, +1, -1),
|
Vector3DInt32(+1, +1, -1),
|
||||||
Vector3DInt32(+1, +1, +1)
|
Vector3DInt32(+1, +1, +1)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -52,4 +52,4 @@ namespace PolyVox
|
|||||||
{
|
{
|
||||||
return m_pSizes;
|
return m_pSizes;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -30,4 +30,4 @@ namespace PolyVox
|
|||||||
{
|
{
|
||||||
return voxel.getDensity();
|
return voxel.getDensity();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,4 +26,4 @@ freely, subject to the following restrictions:
|
|||||||
namespace PolyVox
|
namespace PolyVox
|
||||||
{
|
{
|
||||||
void (*logHandler)(std::string, int severity) = 0;
|
void (*logHandler)(std::string, int severity) = 0;
|
||||||
}
|
}
|
||||||
|
@ -30,4 +30,4 @@ namespace PolyVox
|
|||||||
//{
|
//{
|
||||||
// return voxel.getDensity();
|
// return voxel.getDensity();
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
@ -48,4 +48,4 @@ namespace PolyVox
|
|||||||
{
|
{
|
||||||
return voxel.getMaterial();
|
return voxel.getMaterial();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1052,4 +1052,4 @@ namespace PolyVox
|
|||||||
Vector3DFloat(+0.862667f, +0.053377f, +0.652333f),
|
Vector3DFloat(+0.862667f, +0.053377f, +0.652333f),
|
||||||
Vector3DFloat(-0.002289f, +0.568834f, -0.069185f)
|
Vector3DFloat(-0.002289f, +0.568834f, -0.069185f)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -63,4 +63,4 @@ namespace PolyVox
|
|||||||
sum /= 27.0f;
|
sum /= 27.0f;
|
||||||
return sum;
|
return sum;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,4 +13,4 @@ namespace PolyVox
|
|||||||
{
|
{
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user