summaryrefslogtreecommitdiff
path: root/servers/physics_2d/shape_2d_sw.h
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-08-19 11:02:40 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-08-24 17:34:55 -0700
commitaa4791735d2fe92d747a39529aebb410f96cf38f (patch)
tree8052f9cb555e0ebd4bd1dde05c6130b58c58c768 /servers/physics_2d/shape_2d_sw.h
parentd9720d439545792bd742645f3c6e3f7c29327aa8 (diff)
Rename slips_on_slope to slide_on_slope
Also added some precision to the documentation.
Diffstat (limited to 'servers/physics_2d/shape_2d_sw.h')
-rw-r--r--servers/physics_2d/shape_2d_sw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/physics_2d/shape_2d_sw.h b/servers/physics_2d/shape_2d_sw.h
index 6813e25a0b..541d35dae9 100644
--- a/servers/physics_2d/shape_2d_sw.h
+++ b/servers/physics_2d/shape_2d_sw.h
@@ -181,11 +181,11 @@ public:
class RayShape2DSW : public Shape2DSW {
real_t length;
- bool slips_on_slope;
+ bool slide_on_slope;
public:
_FORCE_INLINE_ real_t get_length() const { return length; }
- _FORCE_INLINE_ bool get_slips_on_slope() const { return slips_on_slope; }
+ _FORCE_INLINE_ bool get_slide_on_slope() const { return slide_on_slope; }
virtual PhysicsServer2D::ShapeType get_type() const { return PhysicsServer2D::SHAPE_RAY; }