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/Dynamic1D.java
143 143
///////////////////////////////////////////////////////////////////////////////////////////////////
144 144

  
145 145
/**
146
 * Default constructor.
146
 * Constructor setting the speed of interpolation and the number of revolutions.
147
 *
148
 * What constitutes 'one revolution' depends on the MODE:
149
 * {@link Dynamic#MODE_LOOP}, {@link Dynamic#MODE_PATH} or {@link Dynamic#MODE_JUMP}.
147 150
 *
148
 * @param duration number of milliseconds it takes to do a full loop/path from first vector to the
149
 *                 last and back to the first
150
 * @param count    number of loops/paths we will do; mCount = 1.5 means we go from the first vector
151
 *                 to the last, back to first, and to the last again.
151
 * @param duration number of milliseconds it takes to do one revolution.
152
 * @param count    number of revolutions we will do. Count<=0 means 'infinite'.
152 153
 */
153 154
  public Dynamic1D(int duration, float count)
154 155
    {

Also available in: Unified diff