diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/render/draw.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc index f354780..c42248e 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -853,7 +853,7 @@ void draw_model_axis(const core::Entity *entity) gl::begin(gl::Lines); - gl::color(entity->color()); + gl::color(1.0f, 1.0f, 1.0f, 1.0f); gl::vertex(-r, 0.0f, 0.0f); gl::vertex(r, 0.0f, 0.0f); @@ -863,6 +863,8 @@ void draw_model_axis(const core::Entity *entity) gl::vertex(0.0f, 0.0f, -r); gl::vertex(0.0f, 0.0f, r); + + /* const math::Axis worldaxis(entity->axis().transpose()); @@ -876,6 +878,8 @@ void draw_model_axis(const core::Entity *entity) gl::vertex(worldaxis.up() * -1 * r); gl::vertex(worldaxis.up() * r); + + */ gl::end(); } |