diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-01-28 01:34:26 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-01-28 18:15:42 -0500 |
commit | cb9fc117d139db399a6ffef460b781eb7ae9092e (patch) | |
tree | 0dac28e4526fa9c334cc621296599d453295991c /servers/physics_3d/physics_server_3d_sw.cpp | |
parent | 329d4796ae59ad4823e3899cfdc2c670c7c37de2 (diff) |
Use real_t in physics code
Diffstat (limited to 'servers/physics_3d/physics_server_3d_sw.cpp')
-rw-r--r-- | servers/physics_3d/physics_server_3d_sw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_3d/physics_server_3d_sw.cpp b/servers/physics_3d/physics_server_3d_sw.cpp index 274de8411c..b554a23bf2 100644 --- a/servers/physics_3d/physics_server_3d_sw.cpp +++ b/servers/physics_3d/physics_server_3d_sw.cpp @@ -874,7 +874,7 @@ bool PhysicsServer3DSW::body_test_motion(RID p_body, const Transform &p_from, co return body->get_space()->test_body_motion(body, p_from, p_motion, p_infinite_inertia, body->get_kinematic_margin(), r_result, p_exclude_raycast_shapes); } -int PhysicsServer3DSW::body_test_ray_separation(RID p_body, const Transform &p_transform, bool p_infinite_inertia, Vector3 &r_recover_motion, SeparationResult *r_results, int p_result_max, float p_margin) { +int PhysicsServer3DSW::body_test_ray_separation(RID p_body, const Transform &p_transform, bool p_infinite_inertia, Vector3 &r_recover_motion, SeparationResult *r_results, int p_result_max, real_t p_margin) { Body3DSW *body = body_owner.getornull(p_body); ERR_FAIL_COND_V(!body, false); ERR_FAIL_COND_V(!body->get_space(), false); |