summaryrefslogtreecommitdiff
path: root/core/math/vector4.h
diff options
context:
space:
mode:
authorantonWetzel <anton.wetzel.mail@gmail.com>2022-08-08 17:05:55 +0200
committerantonWetzel <anton.wetzel.mail@gmail.com>2022-08-09 01:59:17 +0200
commit40a1d6d100d8a1823d3a939a7ad7350b36bcddbd (patch)
tree65b06f486f70150e7110b1ad1dde3aa2f398c858 /core/math/vector4.h
parent7355dfb502dbae6f13fbe42a9feeadb57affac0e (diff)
vector4 distance_squared_to and update csharp
Diffstat (limited to 'core/math/vector4.h')
-rw-r--r--core/math/vector4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/math/vector4.h b/core/math/vector4.h
index 373a6a1218..d26fe15941 100644
--- a/core/math/vector4.h
+++ b/core/math/vector4.h
@@ -79,6 +79,7 @@ struct _NO_DISCARD_ Vector4 {
bool is_normalized() const;
real_t distance_to(const Vector4 &p_to) const;
+ real_t distance_squared_to(const Vector4 &p_to) const;
Vector4 direction_to(const Vector4 &p_to) const;
Vector4 abs() const;