|
OpenWalnut 1.3.1
|
Provides a time dependent rotation around a specified axis. More...
Inheritance diagram for Rotator:Public Member Functions | |
| Rotator (double time, double startTime, WVector3d axes, double degree, double speed) | |
| Create a rotation matrix which rotates a certain number of degree with a given speed. | |
Provides a time dependent rotation around a specified axis.
Definition at line 233 of file WGEAnimationManipulator.cpp.
| Rotator::Rotator | ( | double | time, |
| double | startTime, | ||
| WVector3d | axes, | ||
| double | degree, | ||
| double | speed | ||
| ) | [inline] |
Create a rotation matrix which rotates a certain number of degree with a given speed.
This means, that the time interval is defined by speed and degree.
| degree | rotate this number of degree |
| speed | rotation speed in degree per second |
| time | current time in seconds |
| startTime | time offset. When to start rotation |
| axes | the axes to rotate |
Definition at line 248 of file WGEAnimationManipulator.cpp.
References Transformation::m_duration, and Transformation::m_finishTime.
1.7.4