Back to class index
| Capsule::ClosestPointSyntaxfloat4 Capsule::ClosestPoint(const float4 &targetPoint) const; [8 lines of code]Computes the closest point inside this capsule to the given point. If the target point lies inside this capsule, then that point is returned. See AlsoWork in progress:Todo: in float4 Capsule::ClosestPoint(const float4 &targetPoint) const: Add ClosestPoint(Line/Ray/LineSegment/Plane/Triangle/Polygon/Circle/Disc/AABB/OBB/Sphere/Capsule/Frustum/Polyhedron). |