Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
MathUtils::mShortestSegmentBetweenLines Function
Syntax
C++
void mShortestSegmentBetweenLines(const Line & line0, const Line & line1, LineSegment * outSegment);

Calculates the shortest line segment between two lines. 

@param outSegment The result where .p0 is the point on line0 and .p1 is the point on line1. 

 

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