comparison pytouhou/utils/interpolator.pxd @ 437:d778db08190f

Make Interpolator an extension type.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 07 Aug 2013 11:34:44 +0200
parents
children 53fa73932e9a
comparison
equal deleted inserted replaced
436:cb5c68598ab0 437:d778db08190f
1 cdef class Interpolator:
2 cdef unsigned long start_frame, end_frame, _frame
3 cdef long _length
4 cdef double *_values, *start_values, *end_values
5 cdef object _formula
6
7 cpdef set_interpolation_start(self, unsigned long frame, tuple values)
8 cpdef set_interpolation_end(self, unsigned long frame, tuple values)
9 cpdef set_interpolation_end_frame(self, unsigned long end_frame)
10 cpdef set_interpolation_end_values(self, tuple values)
11 cpdef update(self, unsigned long frame)