diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-08-13 19:23:31 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-08-14 03:12:13 +0200 |
commit | 8e3f71d75060c70745f541d5cab509f7bea690df (patch) | |
tree | 4ffd6ca1e96fdd3d429ca855e73132f44c5ff148 /tests | |
parent | 3a48474c49faff6fd12f7875a841fa7872d56f9e (diff) |
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).
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_physics_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |