diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2018-08-08 21:11:54 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2018-08-10 18:57:44 +0200 |
commit | 42bf5cd790b17058b1a1bae5e9272afe81f06ca4 (patch) | |
tree | 2b1344188fca652f4d76f1da683aefebd0553a53 /scene/resources/bit_mask.h | |
parent | 1800664e803c1f9bd10d4ff5dad94be6b2166520 (diff) |
Expose additional BitMap methods
Bonus: Restrict debug prints to debug builds
Diffstat (limited to 'scene/resources/bit_mask.h')
-rw-r--r-- | scene/resources/bit_mask.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/bit_mask.h b/scene/resources/bit_mask.h index dcd5edb4fb..40f0bfb04a 100644 --- a/scene/resources/bit_mask.h +++ b/scene/resources/bit_mask.h @@ -46,6 +46,8 @@ class BitMap : public Resource { Vector<Vector2> _march_square(const Rect2i &rect, const Point2i &start) const; + Array _opaque_to_polygons_bind(const Rect2 &p_rect, float p_epsilon) const; + protected: void _set_data(const Dictionary &p_d); Dictionary _get_data() const; |