Mercurial > touhou
comparison 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 |
comparison
equal
deleted
inserted
replaced
416:e23871eddb7a | 417:efae61ad6efe |
---|---|
1 cdef class Matrix: | 1 cdef class Matrix: |
2 cdef public list data | 2 cdef public list data |
3 | 3 |
4 cpdef flip(Matrix self) | 4 cpdef flip(self) |
5 cpdef scale(Matrix self, x, y, z) | 5 cpdef scale(self, x, y, z) |
6 cpdef scale2d(Matrix self, x, y) | 6 cpdef scale2d(self, x, y) |
7 cpdef translate(Matrix self, x, y, z) | 7 cpdef translate(self, x, y, z) |
8 cpdef rotate_x(Matrix self, angle) | 8 cpdef rotate_x(self, angle) |
9 cpdef rotate_y(Matrix self, angle) | 9 cpdef rotate_y(self, angle) |
10 cpdef rotate_z(Matrix self, angle) | 10 cpdef rotate_z(self, angle) |