Back to class index
| Sphere::ClosestPointSyntaxfloat4 Sphere::ClosestPoint(const float4 &point) const; [6 lines of code]Computes the closest point on this sphere to the given object. If the other object intersects this sphere, this function will return an arbitrary point inside the region of intersection. See AlsoWork in progress:Todo: in float4 Sphere::ClosestPoint(const float4 &point) const: Add Sphere::ClosestPoint(Line/Ray/LineSegment/Plane/Triangle/Polygon/Circle/Disc/AABB/OBB/Sphere/Capsule/Frustum/Polyhedron). |