OpenWalnut
1.4.0
|
Provides a comfortable zoomer lens. More...
Public Member Functions | |
Zoomer (double time, double startTime, double factor, double speed) | |
Zooms the scene with the given factor. |
Provides a comfortable zoomer lens.
Definition at line 263 of file WGEAnimationManipulator.cpp.
Zoomer::Zoomer | ( | double | time, |
double | startTime, | ||
double | factor, | ||
double | speed | ||
) | [inline] |
Zooms the scene with the given factor.
This is a scaling on all axes. A factor < 1.0 is zooming out. A factor > 1.0 is zooming in. Negative values are handled by their absolute value.
time | current time |
startTime | when to start the transformation |
factor | zooming factor. |
speed | the speed in zoom / second |
Definition at line 275 of file WGEAnimationManipulator.cpp.
References Transformation::m_duration, and Transformation::m_finishTime.