view pytouhou/utils/matrix.pxd @ 428:f41a26971a19

Remove all Loader uses from outside pytouhou.games, and add a --no-music option to disable bgm.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 16 Jul 2013 21:17:22 +0200
parents d8630c086926
children 878273a984c4
line wrap: on
line source

cdef float* matrix_to_floats(Matrix self)

cdef class Matrix:
    cdef public list data
    cdef float *c_data

    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)