diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2019-10-14 16:33:45 -0400 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2019-10-14 16:46:54 -0400 |
commit | 86922ff70ba533b376a6680f965f542894e8c614 (patch) | |
tree | b99bc39067ce17ec257ad44199becdc61b69d3c2 /core/math/vector2.h | |
parent | 1fed266bf5452b30376db62495f4985f6975f2c1 (diff) | |
download | redot-engine-86922ff70ba533b376a6680f965f542894e8c614.tar.gz |
Make is_equal_approx separate for structures
This commit adds exposed behavior for C#
Diffstat (limited to 'core/math/vector2.h')
-rw-r--r-- | core/math/vector2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/math/vector2.h b/core/math/vector2.h index 1a73831891..39fec15ce6 100644 --- a/core/math/vector2.h +++ b/core/math/vector2.h @@ -92,6 +92,8 @@ struct Vector2 { Vector2 bounce(const Vector2 &p_normal) const; Vector2 reflect(const Vector2 &p_normal) const; + bool is_equal_approx(const Vector2 &p_v) const; + Vector2 operator+(const Vector2 &p_v) const; void operator+=(const Vector2 &p_v); Vector2 operator-(const Vector2 &p_v) const; |