Fix some compiler warnings about initialisation order.
This commit is contained in:
		| @@ -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) | ||||
| 	{ | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user