Project

General

Profile

« Previous | Next » 

Revision c45c2ab1

Added by Leszek Koltunski about 5 years ago

Minor improvements in the Dynamics.

View differences:

src/main/java/org/distorted/library/type/Dynamic5D.java
205 205
    }
206 206

  
207 207
///////////////////////////////////////////////////////////////////////////////////////////////////
208

  
209 208
/**
210
 * Default constructor.
209
 * Constructor setting the speed of interpolation and the number of revolutions.
210
 *
211
 * What constitutes 'one revolution' depends on the MODE:
212
 * {@link Dynamic#MODE_LOOP}, {@link Dynamic#MODE_PATH} or {@link Dynamic#MODE_JUMP}.
211 213
 *
212
 * @param duration number of milliseconds it takes to do a full loop/path from first vector to the
213
 *                 last and back to the first
214
 * @param count    number of loops/paths we will do; mCount = 1.5 means we go from the first vector
215
 *                 to the last, back to first, and to the last again.
214
 * @param duration number of milliseconds it takes to do one revolution.
215
 * @param count    number of revolutions we will do. Count<=0 means 'infinite'.
216 216
 */
217 217
  public Dynamic5D(int duration, float count)
218 218
    {

Also available in: Unified diff