diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2014-08-01 22:10:38 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2014-08-01 22:10:38 -0300 |
| commit | 678948068bbde7f12a9c5f28a467b6cf4d127851 (patch) | |
| tree | 75572f3a5cc6089a6ca3046e9307d0a7c0b72c51 /core/math/math_2d.h | |
| parent | 9ff6d55822647c87eef392147ea15641d0922d47 (diff) | |
| download | redot-engine-678948068bbde7f12a9c5f28a467b6cf4d127851.tar.gz | |
Small Issues & Maintenance
-=-=-=-=-=-=-=-=-=-=-=-=-=
-Begin work on Navigation Meshes (simple pathfinding for now, will improve soon)
-More doc on theme overriding
-Upgraded OpenSSL to version without bugs
-Misc bugfixes
Diffstat (limited to 'core/math/math_2d.h')
| -rw-r--r-- | core/math/math_2d.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/math/math_2d.h b/core/math/math_2d.h index 3cc5bdc843..fa40d305f5 100644 --- a/core/math/math_2d.h +++ b/core/math/math_2d.h @@ -90,7 +90,8 @@ struct Vector2 { float distance_to(const Vector2& p_vector2) const; float distance_squared_to(const Vector2& p_vector2) const; float angle_to(const Vector2& p_vector2) const; - + float angle_to_point(const Vector2& p_vector2) const; + float dot(const Vector2& p_other) const; float cross(const Vector2& p_other) const; Vector2 cross(real_t p_other) const; |
