diff options
Diffstat (limited to 'engines/zvision/scripting/sidefx/distort_node.cpp')
-rw-r--r-- | engines/zvision/scripting/sidefx/distort_node.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/zvision/scripting/sidefx/distort_node.cpp b/engines/zvision/scripting/sidefx/distort_node.cpp index 9be6b29413..0d5c8b1ed5 100644 --- a/engines/zvision/scripting/sidefx/distort_node.cpp +++ b/engines/zvision/scripting/sidefx/distort_node.cpp @@ -31,7 +31,6 @@ #include "common/stream.h" - namespace ZVision { DistortNode::DistortNode(ZVision *engine, uint32 key, int16 speed, float startAngle, float endAngle, float startLineScale, float endLineScale) @@ -83,8 +82,6 @@ bool DistortNode::process(uint32 deltaTimeInMillis) { } float diff = (1.0 / (5.0 - (_curFrame * _frmSpeed))) / (5.0 - _frmSpeed); - - setParams(_startAngle + diff * _diffAngle, _startLineScale + diff * _diffLinScale); return false; @@ -105,5 +102,4 @@ void DistortNode::setParams(float angl, float linScale) { } } - } // End of namespace ZVision |