Revision c45c2ab1
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/library/type/Dynamic4D.java | ||
---|---|---|
189 | 189 |
} |
190 | 190 |
|
191 | 191 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
192 |
|
|
193 | 192 |
/** |
194 |
* Default constructor. |
|
193 |
* Constructor setting the speed of interpolation and the number of revolutions. |
|
194 |
* |
|
195 |
* What constitutes 'one revolution' depends on the MODE: |
|
196 |
* {@link Dynamic#MODE_LOOP}, {@link Dynamic#MODE_PATH} or {@link Dynamic#MODE_JUMP}. |
|
195 | 197 |
* |
196 |
* @param duration number of milliseconds it takes to do a full loop/path from first vector to the |
|
197 |
* last and back to the first |
|
198 |
* @param count number of loops/paths we will do; mCount = 1.5 means we go from the first vector |
|
199 |
* to the last, back to first, and to the last again. |
|
198 |
* @param duration number of milliseconds it takes to do one revolution. |
|
199 |
* @param count number of revolutions we will do. Count<=0 means 'infinite'. |
|
200 | 200 |
*/ |
201 | 201 |
public Dynamic4D(int duration, float count) |
202 | 202 |
{ |
Also available in: Unified diff
Minor improvements in the Dynamics.