Expose Geometry2D.bresenham_line() method

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
Danil Alexeev
2024-10-21 08:19:00 +03:00
parent 78a4e634f0
commit 9f0ae21095
5 changed files with 38 additions and 7 deletions

View File

@ -324,6 +324,8 @@ public:
Dictionary make_atlas(const Vector<Size2> &p_rects);
TypedArray<Point2i> bresenham_line(const Point2i &p_from, const Point2i &p_to);
Geometry2D() { singleton = this; }
};