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?
——
I originally posted the question above in r/math
Been thinking about it and yes there would be the special case where the slope is of defined.
My suspicion is that slope-intercept with start and end distances would be better because you are likely to need those values for intersection, collinearity (correct word?) and such testing functions. This way they would essentially be cached.
Thoughts?
