Mercurial > touhou
view pytouhou/utils/matrix.pxd @ 455:6864a38b2413
Make pytouhou.lib.sdl cimportable, and convert pytouhou.ui.window.* to extension types.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 02 Sep 2013 22:16:38 +0200 |
parents | 878273a984c4 |
children | 6e3b3d5d4691 |
line wrap: on
line source
cdef class Matrix: cdef float data[16] cdef void flip(self) nogil cdef void scale(self, float x, float y, float z) nogil cdef void scale2d(self, float x, float y) nogil cdef void translate(self, float x, float y, float z) nogil cdef void rotate_x(self, float angle) nogil cdef void rotate_y(self, float angle) nogil cdef void rotate_z(self, float angle) nogil