Mercurial > touhou
annotate pytouhou/utils/matrix.pxd @ 419:1c92721f8e49
Re-implement frame control
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Wed, 06 Feb 2013 18:45:12 +0100 |
parents | efae61ad6efe |
children | d8630c086926 |
rev | line source |
---|---|
131
fab7ad2f0d8b
Use Cython, improve performances!
Thibaut Girka <thib@sitedethib.com>
parents:
diff
changeset
|
1 cdef class Matrix: |
223
98c64ffcbdff
Make pytouhou.ui.{background,texture} Cython modules as they are only used by Cython modules.
Thibaut Girka <thib@sitedethib.com>
parents:
131
diff
changeset
|
2 cdef public list data |
131
fab7ad2f0d8b
Use Cython, improve performances!
Thibaut Girka <thib@sitedethib.com>
parents:
diff
changeset
|
3 |
417
efae61ad6efe
Remove the type of the self argument in extension types, as it clutters the code with useless information.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
223
diff
changeset
|
4 cpdef flip(self) |
efae61ad6efe
Remove the type of the self argument in extension types, as it clutters the code with useless information.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
223
diff
changeset
|
5 cpdef scale(self, x, y, z) |
efae61ad6efe
Remove the type of the self argument in extension types, as it clutters the code with useless information.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
223
diff
changeset
|
6 cpdef scale2d(self, x, y) |
efae61ad6efe
Remove the type of the self argument in extension types, as it clutters the code with useless information.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
223
diff
changeset
|
7 cpdef translate(self, x, y, z) |
efae61ad6efe
Remove the type of the self argument in extension types, as it clutters the code with useless information.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
223
diff
changeset
|
8 cpdef rotate_x(self, angle) |
efae61ad6efe
Remove the type of the self argument in extension types, as it clutters the code with useless information.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
223
diff
changeset
|
9 cpdef rotate_y(self, angle) |
efae61ad6efe
Remove the type of the self argument in extension types, as it clutters the code with useless information.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
223
diff
changeset
|
10 cpdef rotate_z(self, angle) |