[PD-cvs] externals/pdp/modules/image_basic pdp_cheby.c,1.3,1.4

Tom Schouten doelie at users.sourceforge.net
Fri Sep 1 15:45:32 CEST 2006


Update of /cvsroot/pure-data/externals/pdp/modules/image_basic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2628/modules/image_basic

Modified Files:
	pdp_cheby.c 
Log Message:
pdp current darcs merge

Index: pdp_cheby.c
===================================================================
RCS file: /cvsroot/pure-data/externals/pdp/modules/image_basic/pdp_cheby.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pdp_cheby.c	16 Dec 2005 01:05:32 -0000	1.3
--- pdp_cheby.c	1 Sep 2006 13:45:30 -0000	1.4
***************
*** 45,49 ****
  {
      t_pdp_cheby *x = (t_pdp_cheby *)params;
!     int index;
  
      /* if there's no array, return the identity function */
--- 45,49 ----
  {
      t_pdp_cheby *x = (t_pdp_cheby *)params;
!     int indx;
  
      /* if there's no array, return the identity function */
***************
*** 51,56 ****
  
      /* else interpolate the array */
!     index = ((f + 1) * 0.5) * (x->x_nbpoints - 1);
!     return x->x_vec[index];
      
  }
--- 51,56 ----
  
      /* else interpolate the array */
!     indx = ((f + 1) * 0.5) * (x->x_nbpoints - 1);
!     return x->x_vec[indx];
      
  }





More information about the Pd-cvs mailing list