PolyVox  0.2.1
Open source voxel management library
Namespaces | Functions
Raycast.inl File Reference

Go to the source code of this file.

Namespaces

namespace  PolyVox
 Main namespace.

Functions

template<typename VolumeType , typename Callback >
RaycastResult PolyVox::raycastWithEndpoints (VolumeType *volData, const Vector3DFloat &v3dStart, const Vector3DFloat &v3dEnd, Callback &callback)
 Cast a ray through a volume by specifying the start and end positions.
template<typename VolumeType , typename Callback >
RaycastResult PolyVox::raycastWithDirection (VolumeType *volData, const Vector3DFloat &v3dStart, const Vector3DFloat &v3dDirectionAndLength, Callback &callback)
 Cast a ray through a volume by specifying the start and a direction.