You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Rename WorldMarginShape to WorldBoundaryShape
This commit is contained in:
@@ -43,8 +43,8 @@
|
||||
RID PhysicsServer2DSW::_shape_create(ShapeType p_shape) {
|
||||
Shape2DSW *shape = nullptr;
|
||||
switch (p_shape) {
|
||||
case SHAPE_WORLD_MARGIN: {
|
||||
shape = memnew(WorldMarginShape2DSW);
|
||||
case SHAPE_WORLD_BOUNDARY: {
|
||||
shape = memnew(WorldBoundaryShape2DSW);
|
||||
} break;
|
||||
case SHAPE_SEPARATION_RAY: {
|
||||
shape = memnew(SeparationRayShape2DSW);
|
||||
@@ -79,8 +79,8 @@ RID PhysicsServer2DSW::_shape_create(ShapeType p_shape) {
|
||||
return id;
|
||||
}
|
||||
|
||||
RID PhysicsServer2DSW::world_margin_shape_create() {
|
||||
return _shape_create(SHAPE_WORLD_MARGIN);
|
||||
RID PhysicsServer2DSW::world_boundary_shape_create() {
|
||||
return _shape_create(SHAPE_WORLD_BOUNDARY);
|
||||
}
|
||||
|
||||
RID PhysicsServer2DSW::separation_ray_shape_create() {
|
||||
|
||||
Reference in New Issue
Block a user