From ea7e3113f4f5c7c83ca0324a505af5360becfd9f Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Sat, 15 Dec 2018 23:00:11 +0100 Subject: [PATCH] Fix rendering of debug bone --- src/modules/RenderUtils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/RenderUtils.cc b/src/modules/RenderUtils.cc index 52f756f..8193c55 100644 --- a/src/modules/RenderUtils.cc +++ b/src/modules/RenderUtils.cc @@ -1228,7 +1228,7 @@ void DebugDrawInitialize() { // back side: -z {bone_width, bone_bump_fraction, -bone_width, 1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, 255, 255, 255, 255 }, {0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, 255, 255, 255, 255 }, - {-bone_width, bone_width, -bone_width, 1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, 255, 255, 255, 255 }, + {-bone_width, bone_bump_fraction, -bone_width, 1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, 255, 255, 255, 255 }, // upper half //