Ejemplo n.º 1
0
/////////////////////////////////////////////////////////////////////////////
// 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);
 }
}
Ejemplo n.º 2
0
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);
	}
}