Lines Matching refs:holdIndex
59 int holdIndex; // The index of the curve segment
71 // at the holdIndex
119 holdIndex = hold.length - 6;
121 hold[holdIndex + 0] = (float) (Math.random() * 100);
122 hold[holdIndex + 1] = (float) (Math.random() * 100);
123 hold[holdIndex + 2] = (float) (Math.random() * 100);
124 hold[holdIndex + 3] = (float) (Math.random() * 100);
125 hold[holdIndex + 4] = (float) (Math.random() * 100);
126 hold[holdIndex + 5] = (float) (Math.random() * 100);
134 * It is currently holding (hold.length - holdIndex) values.
137 if (holdIndex - want < 0) {
138 int have = hold.length - holdIndex;
141 System.arraycopy(hold, holdIndex,
142 newhold, holdIndex + GROW_SIZE,
149 holdIndex += GROW_SIZE;
155 if (holdIndex >= holdEnd) {
161 if (getFlatnessSq(hold, holdIndex) < squareflat) {
166 subdivide(hold, holdIndex,
167 hold, holdIndex - 4,
168 hold, holdIndex);
169 holdIndex -= 4;
185 // two coordinates at holdIndex+4 and holdIndex+5 now
188 holdIndex += 4;