Expose Geometry2D::bresenham_line()
to scripting
#11004
Closed
timothyqiu
started this conversation in
2D
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bresenham's line algorithm is useful when implementing grid-based drawing tools and doing line-of-sight calculations in roguelike games.
This algorithm is already implemented as
Geometry2D::bresenham_line()
. I think we can expose it to scripting.Beta Was this translation helpful? Give feedback.
All reactions