Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git
This commit is contained in:
		| @@ -44,7 +44,7 @@ namespace PolyVox | ||||
| 	extern const POLYVOX_API Vector3DInt32 arrayPathfinderCorners[8]; | ||||
|  | ||||
| 	/// This function provides the default method for checking whether a given voxel | ||||
| 	/// is vaid for the path computed by the AStarPathfinder. | ||||
| 	/// is valid for the path computed by the AStarPathfinder. | ||||
| 	template< template<typename> class VolumeType, typename VoxelType> | ||||
| 	bool aStarDefaultVoxelValidator(const VolumeType<VoxelType>* volData, const Vector3DInt32& v3dPos); | ||||
|  | ||||
| @@ -72,7 +72,7 @@ namespace PolyVox | ||||
| 			float fHBias = 1.0, | ||||
| 			uint32_t uMaxNoOfNodes = 10000, | ||||
| 			Connectivity connectivity = TwentySixConnected, | ||||
| 			polyvox_function<bool (const VolumeType<VoxelType>*, const Vector3DInt32&)> funcIsVoxelValidForPath = &aStarDefaultVoxelValidator<VolumeType, VoxelType>, | ||||
| 			polyvox_function<bool (const VolumeType<VoxelType>*, const Vector3DInt32&)> funcIsVoxelValidForPath = &aStarDefaultVoxelValidator, | ||||
| 			polyvox_function<void (float)> funcProgressCallback = 0 | ||||
| 		) | ||||
| 			:volume(volData) | ||||
|   | ||||
| @@ -326,4 +326,4 @@ namespace PolyVox | ||||
| 		hVal += fHash; | ||||
| 		return hVal; | ||||
| 	} | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -131,4 +131,4 @@ namespace PolyVox | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -74,4 +74,4 @@ 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. | ||||
| 		return false; | ||||
| 	} | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -139,4 +139,4 @@ namespace PolyVox | ||||
| 		lodRecord.endIndex = m_meshCurrent->getNoOfIndices(); | ||||
| 		m_meshCurrent->m_vecLodRecords.push_back(lodRecord); | ||||
| 	} | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -512,4 +512,4 @@ namespace PolyVox | ||||
| } | ||||
|  | ||||
| #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_ERROR(message) if(logHandler){logHandler(message, LS_ERROR);} | ||||
|  | ||||
| #endif | ||||
| #endif | ||||
|   | ||||
| @@ -124,4 +124,4 @@ namespace PolyVox | ||||
| 	typename VoxelTypeTraits<MaterialDensityPair88>::MaterialType convertToMaterial(MaterialDensityPair88 voxel); | ||||
| } | ||||
|  | ||||
| #endif | ||||
| #endif | ||||
|   | ||||
| @@ -419,4 +419,4 @@ namespace PolyVox | ||||
| #undef BORDER_LOWY | ||||
| #undef BORDER_HIGHY | ||||
| #undef BORDER_LOWZ | ||||
| #undef BORDER_HIGHZ | ||||
| #undef BORDER_HIGHZ | ||||
|   | ||||
| @@ -122,4 +122,4 @@ namespace PolyVox | ||||
|  | ||||
| #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.previousVoxel = Vector3DInt32(0,0,0); | ||||
| 	} | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -485,4 +485,4 @@ namespace PolyVox | ||||
| 			m_vecVertices[ct].setPosition(position); | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
| } | ||||
|   | ||||
| @@ -32,4 +32,4 @@ namespace PolyVox | ||||
| 	float computeSmoothedVoxel(typename VolumeType<uint8_t>::Sampler& volIter); | ||||
| } | ||||
|  | ||||
| #endif | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user