Slope-Intercept vs Endpoint Pairs - Data Structure
In a graphics based programming, I’m starting to get the impression that it is better to store data in slope-intercept form rather than the raw start and end points.
Is my impression correct?
Why?
Hi.
Posted Jan 10, 2018, 11:05 PM UTC · edited
This question is better suited to a programming sub because how you store data depends significantly and how you use it. Mathematically the two are the same.
I kind of thought that too, but was torn.
I’ll post to one of those as well. Or cross post if I can.
Not exactly. The line segment (0, 0) to (0, 1), for example.