summaryrefslogtreecommitdiffstats
path: root/core/math/math_2d.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-02-19 11:57:14 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-02-19 11:57:14 -0300
commitd7d65fa2f2b51d03f7bdfcbceedca99188ce979c (patch)
treefecdf1bfa39ba5a4895b4dbf340a3b68098c109a /core/math/math_2d.h
parent8c1731b67995add31361ae526b0e6af76346181e (diff)
downloadredot-engine-d7d65fa2f2b51d03f7bdfcbceedca99188ce979c.tar.gz
-improved physics ccd
-html5 exporter works again -disable repeat on image loader by default -can change shape offset en tileset, texture offset was broken
Diffstat (limited to 'core/math/math_2d.h')
-rw-r--r--core/math/math_2d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/math/math_2d.h b/core/math/math_2d.h
index 212d848bcb..1f45036409 100644
--- a/core/math/math_2d.h
+++ b/core/math/math_2d.h
@@ -105,6 +105,8 @@ struct Vector2 {
Vector2 cubic_interpolate(const Vector2& p_b,const Vector2& p_pre_a, const Vector2& p_post_b,float p_t) const;
Vector2 cubic_interpolate_soft(const Vector2& p_b,const Vector2& p_pre_a, const Vector2& p_post_b,float p_t) const;
+ Vector2 slide(const Vector2& p_vec) const;
+ Vector2 reflect(const Vector2& p_vec) const;
Vector2 operator+(const Vector2& p_v) const;
void operator+=(const Vector2& p_v);