/** Returns true if the axis aligned bounding box intersects the axis aligned bounding box of the specified bounds. */ public bool AabbIntersectsSkeleton(SkeletonBounds bounds) { if (!aabb) { aabbCompute(); } if (!bounds.aabb) { bounds.aabbCompute(); } return(minX < bounds.maxX && maxX > bounds.minX && minY < bounds.maxY && maxY > bounds.minY); }
/** Returns true if the axis aligned bounding box intersects the axis aligned bounding box of the specified bounds. */ public bool AabbIntersectsSkeleton(SkeletonBounds bounds) { if (!aabb) aabbCompute(); if (!bounds.aabb) bounds.aabbCompute(); return minX < bounds.maxX && maxX > bounds.minX && minY < bounds.maxY && maxY > bounds.minY; }