Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
MathUtils::mClosestPointOnSegment Function
Syntax
C++
Point3F mClosestPointOnSegment(const Point3F & a, const Point3F & b, const Point3F & p);

Returns the closest point on the segment defined by points a, b to the point p. 

 

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!