view pytouhou/utils/matrix.pxd @ 215:ab6e6909ce04

Don’t scale texture instead of shifting it, fix ANM’s 28th opcode.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 07 Dec 2011 13:23:02 +0100
parents fab7ad2f0d8b
children 98c64ffcbdff
line wrap: on
line source

cdef class Matrix:
    cdef public data

    cpdef flip(Matrix self)
    cpdef scale(Matrix self, x, y, z)
    cpdef scale2d(Matrix self, x, y)
    cpdef translate(Matrix self, x, y, z)
    cpdef rotate_x(Matrix self, angle)
    cpdef rotate_y(Matrix self, angle)
    cpdef rotate_z(Matrix self, angle)