Mercurial > touhou
comparison pytouhou/utils/matrix.pxd @ 131:fab7ad2f0d8b
Use Cython, improve performances!
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sun, 11 Sep 2011 02:02:59 +0200 |
parents | |
children | 98c64ffcbdff |
comparison
equal
deleted
inserted
replaced
130:11ab06f4c4c6 | 131:fab7ad2f0d8b |
---|---|
1 cdef class Matrix: | |
2 cdef public data | |
3 | |
4 cpdef flip(Matrix self) | |
5 cpdef scale(Matrix self, x, y, z) | |
6 cpdef scale2d(Matrix self, x, y) | |
7 cpdef translate(Matrix self, x, y, z) | |
8 cpdef rotate_x(Matrix self, angle) | |
9 cpdef rotate_y(Matrix self, angle) | |
10 cpdef rotate_z(Matrix self, angle) |