summaryrefslogtreecommitdiff
path: root/servers/physics_3d/godot_physics_server_3d.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-16 17:11:40 +0100
committerGitHub <noreply@github.com>2022-03-16 17:11:40 +0100
commitc9d764e14a131cb0e797543a1f153cb5adc6fce4 (patch)
tree6dded32a421fdde02eea31f69b4e0cbfae58ef3c /servers/physics_3d/godot_physics_server_3d.cpp
parent9d732aa0cfcfd638c28ac8eb8149d912a5a3a642 (diff)
parent8b547331bec150b682fda94da1568fbcbda689ba (diff)
Merge pull request #59140 from reduz/physics-server-extension
Diffstat (limited to 'servers/physics_3d/godot_physics_server_3d.cpp')
-rw-r--r--servers/physics_3d/godot_physics_server_3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/physics_3d/godot_physics_server_3d.cpp b/servers/physics_3d/godot_physics_server_3d.cpp
index a1912dc660..f7270713e0 100644
--- a/servers/physics_3d/godot_physics_server_3d.cpp
+++ b/servers/physics_3d/godot_physics_server_3d.cpp
@@ -920,7 +920,7 @@ RID GodotPhysicsServer3D::soft_body_create() {
return rid;
}
-void GodotPhysicsServer3D::soft_body_update_rendering_server(RID p_body, RenderingServerHandler *p_rendering_server_handler) {
+void GodotPhysicsServer3D::soft_body_update_rendering_server(RID p_body, PhysicsServer3DRenderingServerHandler *p_rendering_server_handler) {
GodotSoftBody3D *soft_body = soft_body_owner.get_or_null(p_body);
ERR_FAIL_COND(!soft_body);
@@ -1355,7 +1355,7 @@ int GodotPhysicsServer3D::joint_get_solver_priority(RID p_joint) const {
return joint->get_priority();
}
-void GodotPhysicsServer3D::joint_disable_collisions_between_bodies(RID p_joint, const bool p_disable) {
+void GodotPhysicsServer3D::joint_disable_collisions_between_bodies(RID p_joint, bool p_disable) {
GodotJoint3D *joint = joint_owner.get_or_null(p_joint);
ERR_FAIL_COND(!joint);