float3 AABB::ClosestPoint(const float3 &targetPoint) const { return targetPoint.Clamp(minPoint, maxPoint); }