Commit Graph

1 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 763ae3db8d
Implement 2D bresenham line drawing for #35
We need it to be 3D though.
We essentially just ported f51f153459/src/index.js to Lua, as https://medium.com/geekculture/bresenhams-line-drawing-algorithm-2e0e953901b3 was WRONG as it didn't handle all edge cases and this one is much more optimised.
2022-09-17 23:27:57 +01:00