diff options
author | Thomas Herzog <therzog@mail.de> | 2018-08-16 12:52:38 +0200 |
---|---|---|
committer | Thomas Herzog <therzog@mail.de> | 2018-08-16 12:52:38 +0200 |
commit | 037f4638aba99981393edd247057f851e80db489 (patch) | |
tree | 70075682e7bd0666b69e4f78d9fac5292715de7e /core/math/vector2.h | |
parent | af93842f937270f5e25cd7270fba1cde18cd21c9 (diff) | |
download | redot-engine-037f4638aba99981393edd247057f851e80db489.tar.gz |
add project method to Vector2/3
Diffstat (limited to 'core/math/vector2.h')
-rw-r--r-- | core/math/vector2.h | 2 |
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; |