Project

General

Profile

« Previous | Next » 

Revision 437bc43e

Added by Leszek Koltunski almost 8 years ago

Adjust comments.

View differences:

src/main/java/org/distorted/library/Interpolator.java
3 3
import java.util.Random;
4 4

  
5 5
///////////////////////////////////////////////////////////////////////////////////////////////////
6
/** A class to interpolate between a List of FloatNDs.
6
/** A class to interpolate between a List of Float{1,2,3,4}Ds.
7 7
* <p><ul>
8 8
* <li>if there is only one Point, just jump to it.
9 9
* <li>if there are two Points, linearly bounce between them
......
145 145

  
146 146
///////////////////////////////////////////////////////////////////////////////////////////////////
147 147
/**
148
 * Returns the number of FloatNDs this Interpolator has been fed with.
148
 * Returns the number of Float{1,2,3,4}Ds this Interpolator has been fed with.
149 149
 *   
150
 * @return the number of FloatNDs we are currently interpolating through.
150
 * @return the number of Float{1,2,3,4}Ds we are currently interpolating through.
151 151
 */
152 152
  public synchronized int getNumPoints()
153 153
    {
......
158 158
/**
159 159
 * Controls how many times we want to interpolate.
160 160
 * <p>
161
 * Count equal to 1 means 'go from the first FloatND to the last and back'. Does not have to be an 
161
 * 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
162 162
 * integer - i.e. count=1.5 would mean 'start at the first Point, go to the last, come back to the first, 
163 163
 * go to the last again and stop'.
164 164
 * Count<=0 means 'go on interpolating indefinitely'.
165 165
 * 
166
 * @param count the number of times we want to interpolate between our collection of FloatNDs. 
166
 * @param count the number of times we want to interpolate between our collection of Float{1,2,3,4}Ds.
167 167
 */
168 168
  public void setCount(float count)
169 169
    {

Also available in: Unified diff