|
|
Le_Forgeron wrote:
> Why do you need the sloperate of your 2D line ?
> why not computing the angle of the slope instead, using atan2 ?
> With the angle instead of the slope, no more issue with vertical line.
>
> (atan2() result would be in radian, just in case you would be wondering)
It's for a 2D line intersection macro, and the way I learned how to
perform that makes use of classic Coordinate Geometry.
Post a reply to this message
|
|