summaryrefslogtreecommitdiffstats
path: root/core/math/vector2.h
diff options
context:
space:
mode:
authorThomas Herzog <therzog@mail.de>2018-08-16 12:52:38 +0200
committerThomas Herzog <therzog@mail.de>2018-08-16 12:52:38 +0200
commit037f4638aba99981393edd247057f851e80db489 (patch)
tree70075682e7bd0666b69e4f78d9fac5292715de7e /core/math/vector2.h
parentaf93842f937270f5e25cd7270fba1cde18cd21c9 (diff)
downloadredot-engine-037f4638aba99981393edd247057f851e80db489.tar.gz
add project method to Vector2/3
Diffstat (limited to 'core/math/vector2.h')
-rw-r--r--core/math/vector2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/vector2.h b/core/math/vector2.h
index 7c8882f6e2..fbcdc80b60 100644
--- a/core/math/vector2.h
+++ b/core/math/vector2.h
@@ -68,7 +68,7 @@ struct Vector2 {
real_t dot(const Vector2 &p_other) const;
real_t cross(const Vector2 &p_other) const;
- Vector2 project(const Vector2 &p_vec) const;
+ Vector2 project(const Vector2 &p_b) const;
Vector2 plane_project(real_t p_d, const Vector2 &p_vec) const;