Browse Source

workbench update

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> 10 years ago
parent
commit
d3b6bb6dce
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/debug/lines.cpp

+ 5
- 1
src/debug/lines.cpp View File

@@ -157,8 +157,12 @@ void Debug::DrawSphere(vec3 a, vec3 x, vec3 y, vec3 z)
void Debug::DrawSphere(vec3 a, vec3 x, vec3 y, vec3 z, vec4 color)
{
Debug::DrawCircle(a, x, y, color);
Debug::DrawCircle(a, x, (y + z) * .707f, color);
Debug::DrawCircle(a, x, (y - z) * .707f, color);
Debug::DrawCircle(a, x, z, color);
Debug::DrawCircle(a, y, z, color);
Debug::DrawCircle(a, z, x, color);
Debug::DrawCircle(a, y, (z + x) * .707f, color);
Debug::DrawCircle(a, y, (z - x) * .707f, color);
}

//--


Loading…
Cancel
Save