view pytouhou/utils/matrix.pxd @ 417:efae61ad6efe

Remove the type of the self argument in extension types, as it clutters the code with useless information.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 22 Aug 2013 12:21:12 +0200
parents 98c64ffcbdff
children d8630c086926
line wrap: on
line source

cdef class Matrix:
    cdef public list data

    cpdef flip(self)
    cpdef scale(self, x, y, z)
    cpdef scale2d(self, x, y)
    cpdef translate(self, x, y, z)
    cpdef rotate_x(self, angle)
    cpdef rotate_y(self, angle)
    cpdef rotate_z(self, angle)