diff options
author | Mariano Javier Suligoy <marianognu.easyrpg@gmail.com> | 2015-08-30 19:39:36 -0300 |
---|---|---|
committer | Mariano Javier Suligoy <marianognu.easyrpg@gmail.com> | 2015-08-30 19:39:36 -0300 |
commit | 553edf1f250f34ca0ef0703b13b4d601f609e491 (patch) | |
tree | 54e7cbf1ed368a872441ef6efc2fa2c027c45c89 /servers/physics_2d/body_2d_sw.h | |
parent | 680402cebf63066abcc93e7e8035e457c6305874 (diff) | |
parent | 2d8866574dd2c06ac03e7055642b917a0a3c6dac (diff) |
Merge branch 'master' of https://github.com/okamstudio/godot
# Solved Conflicts:
# scene/gui/spin_box.cpp
# scene/gui/tree.cpp
Diffstat (limited to 'servers/physics_2d/body_2d_sw.h')
-rw-r--r-- | servers/physics_2d/body_2d_sw.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/physics_2d/body_2d_sw.h b/servers/physics_2d/body_2d_sw.h index c86bb51f1d..2fbfcaca60 100644 --- a/servers/physics_2d/body_2d_sw.h +++ b/servers/physics_2d/body_2d_sw.h @@ -337,9 +337,9 @@ public: Body2DSW *body; real_t step; - virtual Vector2 get_total_gravity() const { return body->get_gravity(); } // get gravity vector working on this body space/area - virtual float get_total_angular_damp() const { return body->get_angular_damp(); } // get density of this body space/area - virtual float get_total_linear_damp() const { return body->get_linear_damp(); } // get density of this body space/area + virtual Vector2 get_total_gravity() const { return body->gravity; } // get gravity vector working on this body space/area + virtual float get_total_angular_damp() const { return body->area_angular_damp; } // get density of this body space/area + virtual float get_total_linear_damp() const { return body->area_linear_damp; } // get density of this body space/area virtual float get_inverse_mass() const { return body->get_inv_mass(); } // get the mass virtual real_t get_inverse_inertia() const { return body->get_inv_inertia(); } // get density of this body space |