diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-16 22:24:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 22:24:42 +0100 |
commit | 184b5244ba501d2323c4bf8631695bd873da9bd9 (patch) | |
tree | c0a47367d1778fb3903be27067ad0c3731e76668 /servers/physics_3d | |
parent | 5045f46a5c384d83504be3d0cf101e403700b1e3 (diff) | |
parent | 8fb7e622a6a4d6651442764e4e22e000f455f77b (diff) |
Merge pull request #53867 from Calinou/rename-sgn-macro
Diffstat (limited to 'servers/physics_3d')
-rw-r--r-- | servers/physics_3d/godot_shape_3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_3d/godot_shape_3d.cpp b/servers/physics_3d/godot_shape_3d.cpp index b520ee45c7..d1e919ab6a 100644 --- a/servers/physics_3d/godot_shape_3d.cpp +++ b/servers/physics_3d/godot_shape_3d.cpp @@ -430,7 +430,7 @@ Vector3 GodotBoxShape3D::get_closest_point_to(const Vector3 &p_point) const { if (outside == 1) { //use plane if only one side matches Vector3 n; - n[i] = SGN(p_point[i]); + n[i] = SIGN(p_point[i]); Plane p(n, half_extents[i]); min_point = p.project(p_point); |