diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/draw.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc index 2566dd0..afff831 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -581,10 +581,10 @@ void draw_model_fragments(core::Entity *entity) if (group->type() == model::FragmentGroup::Rotate) { gl::push(); - gl::translate(group->location() * -1.0f); + gl::translate(group->location()); float angle = math::degrees360f(core::application()->time() * 90.0f); gl::rotate(angle, math::Vector3f::Xaxis()); - gl::translate(group->location()); + gl::translate(group->location()* -1.0f); } for (model::FragmentGroup::iterator fit = group->begin(); fit != group->end(); fit++) { |