summaryrefslogtreecommitdiff
path: root/servers/physics_3d
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-16 22:24:42 +0100
committerGitHub <noreply@github.com>2021-11-16 22:24:42 +0100
commit184b5244ba501d2323c4bf8631695bd873da9bd9 (patch)
treec0a47367d1778fb3903be27067ad0c3731e76668 /servers/physics_3d
parent5045f46a5c384d83504be3d0cf101e403700b1e3 (diff)
parent8fb7e622a6a4d6651442764e4e22e000f455f77b (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.cpp2
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);