Revision c45c2ab1
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/library/type/Dynamic3D.java | ||
---|---|---|
173 | 173 |
} |
174 | 174 |
|
175 | 175 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
176 |
|
|
177 | 176 |
/** |
178 |
* Default constructor. |
|
177 |
* Constructor setting the speed of interpolation and the number of revolutions. |
|
178 |
* |
|
179 |
* What constitutes 'one revolution' depends on the MODE: |
|
180 |
* {@link Dynamic#MODE_LOOP}, {@link Dynamic#MODE_PATH} or {@link Dynamic#MODE_JUMP}. |
|
179 | 181 |
* |
180 |
* @param duration number of milliseconds it takes to do a full loop/path from first vector to the |
|
181 |
* last and back to the first |
|
182 |
* @param count number of loops/paths we will do; mCount = 1.5 means we go from the first vector |
|
183 |
* to the last, back to first, and to the last again. |
|
182 |
* @param duration number of milliseconds it takes to do one revolution. |
|
183 |
* @param count number of revolutions we will do. Count<=0 means 'infinite'. |
|
184 | 184 |
*/ |
185 | 185 |
public Dynamic3D(int duration, float count) |
186 | 186 |
{ |
Also available in: Unified diff
Minor improvements in the Dynamics.