Commit 6bef7215 authored by Martin Schultz's avatar Martin Schultz

reverted operator specification

parent e93d1481
...@@ -108,7 +108,7 @@ void LightSourceNode::enter(GLState& _state, const DrawModes::DrawMode& /* _draw ...@@ -108,7 +108,7 @@ void LightSourceNode::enter(GLState& _state, const DrawModes::DrawMode& /* _draw
// correct Position for fixed Lights // correct Position for fixed Lights
if(lights_[i].fixedPosition) if(lights_[i].fixedPosition)
lights_[i].realPosition = lights_[i].realPosition =
_state.inverse_modelview().operator*(lights_[i].position); _state.inverse_modelview() * lights_[i].position;
else lights_[i].realPosition = lights_[i].position; else lights_[i].realPosition = lights_[i].position;
ACG::GLState::enable(index2gl(i)); ACG::GLState::enable(index2gl(i));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment