Re: OT: 2D/3D math
use some algebra to transform the equation of the line to:
line: Ax + By + C = 0
then use whatever you came up with for A, B & C in the formula I gave to find the distance between the point and the line.
Slick.
__________________
Slick.
|