diff --git a/library/PolyVoxCore/include/PolyVoxCore/Picking.inl b/library/PolyVoxCore/include/PolyVoxCore/Picking.inl index bb23af2b..c776ee00 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/Picking.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/Picking.inl @@ -77,7 +77,7 @@ namespace PolyVox { RaycastPickingFunctor functor(emptyVoxelExample); - RaycastResult raycastResult = raycastWithDirection(volData, v3dStart, v3dDirectionAndLength, functor); + raycastWithDirection(volData, v3dStart, v3dDirectionAndLength, functor); return functor.m_result; }