From 7db9a020b90e190e9f794903af5f63c290b7b66d Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Fri, 19 Aug 2016 10:55:21 -0700 Subject: [PATCH] debug draw contact normals (1cm) use black color --- examples/ExampleBrowser/OpenGLGuiHelper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ExampleBrowser/OpenGLGuiHelper.cpp b/examples/ExampleBrowser/OpenGLGuiHelper.cpp index e49369547..8001b11e3 100644 --- a/examples/ExampleBrowser/OpenGLGuiHelper.cpp +++ b/examples/ExampleBrowser/OpenGLGuiHelper.cpp @@ -85,8 +85,8 @@ public: virtual void drawContactPoint(const btVector3& PointOnB,const btVector3& normalOnB,btScalar distance,int lifeTime,const btVector3& color) { drawLine(PointOnB,PointOnB+normalOnB*distance,color); - btVector3 red(0.3, 1., 0.3); - drawLine(PointOnB, PointOnB + normalOnB*0.01, red); + btVector3 ncolor(0, 0, 0); + drawLine(PointOnB, PointOnB + normalOnB*0.01, ncolor); }