Fix some compiler warnings about initialisation order.
This commit is contained in:
parent
9fdc30643a
commit
11f91fbbc4
@ -78,9 +78,9 @@ namespace PolyVox
|
||||
:volume(volData)
|
||||
,start(v3dStart)
|
||||
,end(v3dEnd)
|
||||
,result(listResult)
|
||||
,connectivity(connectivity)
|
||||
,hBias(fHBias)
|
||||
,result(listResult)
|
||||
,maxNumberOfNodes(uMaxNoOfNodes)
|
||||
,isVoxelValidForPath(funcIsVoxelValidForPath)
|
||||
,progressCallback(funcProgressCallback)
|
||||
|
@ -25,11 +25,11 @@ namespace PolyVox
|
||||
{
|
||||
template<typename VolumeType>
|
||||
CubicSurfaceExtractorWithNormals<VolumeType>::CubicSurfaceExtractorWithNormals(VolumeType* volData, Region region, SurfaceMesh<PositionMaterialNormal>* result, polyvox_function<bool(typename VolumeType::VoxelType from, typename VolumeType::VoxelType to, float& materialToUse)> funcIsQuadNeededCallback)
|
||||
:m_volData(volData)
|
||||
:m_funcIsQuadNeededCallback(funcIsQuadNeededCallback)
|
||||
,m_volData(volData)
|
||||
,m_sampVolume(volData)
|
||||
,m_meshCurrent(result)
|
||||
,m_regSizeInVoxels(region)
|
||||
,m_funcIsQuadNeededCallback(funcIsQuadNeededCallback)
|
||||
{
|
||||
assert(m_funcIsQuadNeededCallback);
|
||||
}
|
||||
|
@ -34,11 +34,11 @@ namespace PolyVox
|
||||
template<typename VolumeType>
|
||||
Raycast<VolumeType>::Raycast(VolumeType* volData, const Vector3DFloat& v3dStart, const Vector3DFloat& v3dDirectionAndLength, RaycastResult& result, polyvox_function<bool(const typename VolumeType::Sampler& sampler)> funcIsPassable)
|
||||
:m_result(result)
|
||||
,m_funcIsPassable(funcIsPassable)
|
||||
,m_volData(volData)
|
||||
,m_sampVolume(volData)
|
||||
,m_v3dStart(v3dStart)
|
||||
,m_v3dDirectionAndLength(v3dDirectionAndLength)
|
||||
,m_funcIsPassable(funcIsPassable)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -33,9 +33,9 @@ namespace PolyVox
|
||||
{
|
||||
template <typename VoxelType>
|
||||
Block<VoxelType>::Block(uint16_t uSideLength)
|
||||
:m_uSideLength(0)
|
||||
:m_tUncompressedData(0)
|
||||
,m_uSideLength(0)
|
||||
,m_uSideLengthPower(0)
|
||||
,m_tUncompressedData(0)
|
||||
,m_bIsCompressed(true)
|
||||
,m_bIsUncompressedDataModified(true)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user