Mercurial > touhou
comparison pytouhou/utils/matrix.pxd @ 527:db28538cd399
Use Sprite C arrays instead of their tuple representation where it makes sense.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 18 Dec 2013 18:19:08 +0100 |
parents | 6e3b3d5d4691 |
children | e5361b74b9ad |
comparison
equal
deleted
inserted
replaced
526:0b2a92a25245 | 527:db28538cd399 |
---|---|
9 | 9 |
10 cdef void mul(Matrix *mat1, Matrix *mat2) nogil | 10 cdef void mul(Matrix *mat1, Matrix *mat2) nogil |
11 cdef void flip(Matrix *mat) nogil | 11 cdef void flip(Matrix *mat) nogil |
12 cdef void scale(Matrix *mat, float x, float y, float z) nogil | 12 cdef void scale(Matrix *mat, float x, float y, float z) nogil |
13 cdef void scale2d(Matrix *mat, float x, float y) nogil | 13 cdef void scale2d(Matrix *mat, float x, float y) nogil |
14 cdef void translate(Matrix *mat, float x, float y, float z) nogil | 14 cdef void translate(Matrix *mat, float[3] offset) nogil |
15 cdef void translate2d(Matrix *mat, float x, float y) nogil | 15 cdef void translate2d(Matrix *mat, float x, float y) nogil |
16 cdef void rotate_x(Matrix *mat, float angle) nogil | 16 cdef void rotate_x(Matrix *mat, float angle) nogil |
17 cdef void rotate_y(Matrix *mat, float angle) nogil | 17 cdef void rotate_y(Matrix *mat, float angle) nogil |
18 cdef void rotate_z(Matrix *mat, float angle) nogil | 18 cdef void rotate_z(Matrix *mat, float angle) nogil |