From 8e3f71d75060c70745f541d5cab509f7bea690df Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 13 Aug 2021 19:23:31 +0200 Subject: Rename LineShape2D to WorldMarginShape2D The new name makes it more obvious that it acts as an infinite plane, and is consistent with its 3D counterpart (WorldMarginShape3D). --- tests/test_physics_2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_physics_2d.cpp') diff --git a/tests/test_physics_2d.cpp b/tests/test_physics_2d.cpp index 40dc74e89c..61b8951afa 100644 --- a/tests/test_physics_2d.cpp +++ b/tests/test_physics_2d.cpp @@ -255,7 +255,7 @@ protected: arr.push_back(p_normal); arr.push_back(p_d); - RID plane = ps->line_shape_create(); + RID plane = ps->world_margin_shape_create(); ps->shape_set_data(plane, arr); RID plane_body = ps->body_create(); -- cgit v1.2.3