Expose Geometry2D::bresenham_line()
to scripting
#11004
Closed
timothyqiu
started this conversation in
2D
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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