summaryrefslogtreecommitdiff
path: root/servers/physics_2d/body_2d_sw.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-08-28 05:10:15 +0200
committerGitHub <noreply@github.com>2021-08-28 05:10:15 +0200
commitdcf2d09231c03c444cf5374b4d250f327f1333e4 (patch)
treed7494603ae727fe82b3119decaa477357b8572e5 /servers/physics_2d/body_2d_sw.h
parentd04aa9a114811e27c672e9874c262e91299216f0 (diff)
parent9c9e528e3e5b8598186183f381b9d2131e52682e (diff)
Merge pull request #52070 from nekomatata/area-point-gravity-fix
Fix point gravity calculation
Diffstat (limited to 'servers/physics_2d/body_2d_sw.h')
-rw-r--r--servers/physics_2d/body_2d_sw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_2d/body_2d_sw.h b/servers/physics_2d/body_2d_sw.h
index 74bef433dc..30e14eb9c7 100644
--- a/servers/physics_2d/body_2d_sw.h
+++ b/servers/physics_2d/body_2d_sw.h
@@ -125,7 +125,7 @@ class Body2DSW : public CollisionObject2DSW {
uint64_t island_step;
- _FORCE_INLINE_ void _compute_area_gravity_and_dampenings(const Area2DSW *p_area);
+ _FORCE_INLINE_ void _compute_area_gravity_and_damping(const Area2DSW *p_area);
friend class PhysicsDirectBodyState2DSW; // i give up, too many functions to expose