///////////////////////////////////////////////////////////////////////////// // Calls to StepInterpolate for the full path ///////////////////////////////////////////////////////////////////////////// void K1999::Interpolate(int Step) { if (Step > 1) { int i; for (i = Step; i <= Divs - Step; i += Step) StepInterpolate(i - Step, i, Step); StepInterpolate(i - Step, Divs, Step); } }
static void Interpolate(int Step) { if (Step > 1) { int i; for (i = Step; i <= nSegments - Step; i += Step) StepInterpolate(i - Step, i, Step); StepInterpolate(i - Step, nSegments, Step); } }