GetBlocksInsideSpheres
Summary
public void GetBlocksInsideSpheres(ref BoundingSphereD sphere1, ref BoundingSphereD sphere2, ref BoundingSphereD sphere3, HashSet<MySlimBlock> blocks1, HashSet<MySlimBlock> blocks2, HashSet<MySlimBlock> blocks3, bool respectDeformationRatio, float detectionBlockHalfSize, ref MatrixD invWorldGrid)
Optimized version where spheres are sorted from smallest to largest
Parameters
- BoundingSphereD sphere1
- BoundingSphereD sphere2
- BoundingSphereD sphere3
- HashSet
blocks1 - HashSet
blocks2 - HashSet
blocks3 - bool respectDeformationRatio
- float detectionBlockHalfSize
- MatrixD invWorldGrid