Project

General

Profile

« Previous | Next » 

Revision 65074f5a

Added by Leszek Koltunski over 8 years ago

Minor stuff - comments.

View differences:

src/main/java/org/distorted/library/type/Dynamic.java
22 22
import java.util.Random;
23 23

  
24 24
///////////////////////////////////////////////////////////////////////////////////////////////////
25
/** A class to interpolate between a List of Float{1,2,3,4}Ds.
25
/** A class to interpolate between a List of Static{1,2,3,4}Ds.
26 26
* <p><ul>
27 27
* <li>if there is only one Point, just jump to it.
28 28
* <li>if there are two Points, linearly bounce between them
......
165 165

  
166 166
///////////////////////////////////////////////////////////////////////////////////////////////////
167 167
/**
168
 * Returns the number of Float{1,2,3,4}Ds this Dynamic has been fed with.
168
 * Returns the number of Static{1,2,3,4}Ds this Dynamic has been fed with.
169 169
 *   
170
 * @return the number of Float{1,2,3,4}Ds we are currently interpolating through.
170
 * @return the number of Static{1,2,3,4}Ds we are currently interpolating through.
171 171
 */
172 172
  public synchronized int getNumPoints()
173 173
    {
......
178 178
/**
179 179
 * Controls how many times we want to interpolate.
180 180
 * <p>
181
 * Count equal to 1 means 'go from the first Float{1,2,3,4}D to the last and back'. Does not have to be an
181
 * Count equal to 1 means 'go from the first Static{1,2,3,4}D to the last and back'. Does not have to be an
182 182
 * integer - i.e. count=1.5 would mean 'start at the first Point, go to the last, come back to the first, 
183 183
 * go to the last again and stop'.
184 184
 * Count<=0 means 'go on interpolating indefinitely'.
185 185
 * 
186
 * @param count the number of times we want to interpolate between our collection of Float{1,2,3,4}Ds.
186
 * @param count the number of times we want to interpolate between our collection of Static{1,2,3,4}Ds.
187 187
 */
188 188
  public void setCount(float count)
189 189
    {

Also available in: Unified diff