From cd535f8c4952f8e7e780333e2c9e732908f850b8 Mon Sep 17 00:00:00 2001 From: Irlan <-> Date: Fri, 4 May 2018 21:42:45 -0300 Subject: [PATCH] debug draw --- examples/testbed/framework/draw.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/testbed/framework/draw.cpp b/examples/testbed/framework/draw.cpp index 46cd82d..a36376d 100644 --- a/examples/testbed/framework/draw.cpp +++ b/examples/testbed/framework/draw.cpp @@ -211,9 +211,6 @@ void Draw::DrawSolidPolygon(const b3Vec3& normal, const b3Vec3* vertices, u32 co m_triangles->Vertex(p2, fillColor, normal); m_triangles->Vertex(p3, fillColor, normal); } - - b3Color frameColor(0.5f * color.r, 0.5f * color.g, 0.5f * color.b, 1.0f); - DrawPolygon(vertices, count, frameColor); } void Draw::DrawCircle(const b3Vec3& normal, const b3Vec3& center, float32 radius, const b3Color& color) @@ -291,9 +288,6 @@ void Draw::DrawSolidCircle(const b3Vec3& normal, const b3Vec3& center, float32 r m_triangles->Vertex(p1, fillColor, normal); m_triangles->Vertex(p2, fillColor, normal); - m_lines->Vertex(p1, frameColor); - m_lines->Vertex(p2, frameColor); - n1 = n2; p1 = p2; }