Mercurial > touhou
diff 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 diff
--- a/pytouhou/utils/matrix.pxd +++ b/pytouhou/utils/matrix.pxd @@ -1,10 +1,10 @@ cdef class Matrix: cdef public list data - cpdef flip(Matrix self) - cpdef scale(Matrix self, x, y, z) - cpdef scale2d(Matrix self, x, y) - cpdef translate(Matrix self, x, y, z) - cpdef rotate_x(Matrix self, angle) - cpdef rotate_y(Matrix self, angle) - cpdef rotate_z(Matrix self, angle) + 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)