4 ms·
in the a simplified Bresenham variant function, where does dx come from?
by gchamonlive 7y ago
in the a simplified Bresenham variant function, where does dx come from?
- Sophistifunk 7y agoI'm going to take a wild stab here (closed the tab), but dx is usually x2-x1 (aka, distance in x)
- pmiller2 7y agoI agree dx=x1-x0 would make sense, but dx isn’t actually defined in the code from what I see. I think that’s why the GP poster is confused.