mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Core: Add constexpr constructors/operators to math structs
• Begin integrating `constexpr` on math tests; use `static_assert` where appropriate
This commit is contained in:
parent
9e6ee9c5c3
commit
ea62170dac
56 changed files with 1109 additions and 1159 deletions
|
|
@ -523,7 +523,6 @@ static void fill_bits(const BitMap *p_src, Ref<BitMap> &p_map, const Point2i &p_
|
|||
Vector<Vector<Vector2>> BitMap::clip_opaque_to_polygons(const Rect2i &p_rect, float p_epsilon) const {
|
||||
Rect2i r = Rect2i(0, 0, width, height).intersection(p_rect);
|
||||
|
||||
Point2i from;
|
||||
Ref<BitMap> fill;
|
||||
fill.instantiate();
|
||||
fill->create(get_size());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue