summaryrefslogtreecommitdiffstats
path: root/core/math/vector3.h
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2019-10-14 16:33:45 -0400
committerAaron Franke <arnfranke@yahoo.com>2019-10-14 16:46:54 -0400
commit86922ff70ba533b376a6680f965f542894e8c614 (patch)
treeb99bc39067ce17ec257ad44199becdc61b69d3c2 /core/math/vector3.h
parent1fed266bf5452b30376db62495f4985f6975f2c1 (diff)
downloadredot-engine-86922ff70ba533b376a6680f965f542894e8c614.tar.gz
Make is_equal_approx separate for structures
This commit adds exposed behavior for C#
Diffstat (limited to 'core/math/vector3.h')
-rw-r--r--core/math/vector3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/math/vector3.h b/core/math/vector3.h
index de1743d88f..ac42238ed4 100644
--- a/core/math/vector3.h
+++ b/core/math/vector3.h
@@ -119,6 +119,8 @@ struct Vector3 {
_FORCE_INLINE_ Vector3 bounce(const Vector3 &p_normal) const;
_FORCE_INLINE_ Vector3 reflect(const Vector3 &p_normal) const;
+ bool is_equal_approx(const Vector3 &p_v) const;
+
/* Operators */
_FORCE_INLINE_ Vector3 &operator+=(const Vector3 &p_v);