Fix DebugRenderer contact point sphere radius

This commit is contained in:
SlavicPotato 2020-08-11 09:14:18 +02:00
parent e7d9e106e9
commit b5a7454f4c

View File

@ -463,7 +463,7 @@ void DebugRenderer::onContact(const CollisionCallback::CallbackData& callbackDat
if (getIsDebugItemDisplayed(DebugItem::CONTACT_POINT)) { if (getIsDebugItemDisplayed(DebugItem::CONTACT_POINT)) {
// 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)) { if (getIsDebugItemDisplayed(DebugItem::CONTACT_NORMAL)) {