From b5a7454f4cfc1a955191e7a8207ebfe1970a2c84 Mon Sep 17 00:00:00 2001 From: SlavicPotato Date: Tue, 11 Aug 2020 09:14:18 +0200 Subject: [PATCH] Fix DebugRenderer contact point sphere radius --- src/utils/DebugRenderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/DebugRenderer.cpp b/src/utils/DebugRenderer.cpp index e403253b..4e1533f7 100644 --- a/src/utils/DebugRenderer.cpp +++ b/src/utils/DebugRenderer.cpp @@ -463,7 +463,7 @@ void DebugRenderer::onContact(const CollisionCallback::CallbackData& callbackDat if (getIsDebugItemDisplayed(DebugItem::CONTACT_POINT)) { // Contact point - drawSphere(point, DEFAULT_CONTACT_POINT_SPHERE_RADIUS, mMapDebugItemWithColor[DebugItem::CONTACT_POINT]); + drawSphere(point, mContactPointSphereRadius, mMapDebugItemWithColor[DebugItem::CONTACT_POINT]); } if (getIsDebugItemDisplayed(DebugItem::CONTACT_NORMAL)) {