diff 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
line wrap: on
line diff
--- a/pytouhou/utils/matrix.pxd
+++ b/pytouhou/utils/matrix.pxd
@@ -11,7 +11,7 @@ cdef void mul(Matrix *mat1, Matrix *mat2
 cdef void flip(Matrix *mat) nogil
 cdef void scale(Matrix *mat, float x, float y, float z) nogil
 cdef void scale2d(Matrix *mat, float x, float y) nogil
-cdef void translate(Matrix *mat, float x, float y, float z) nogil
+cdef void translate(Matrix *mat, float[3] offset) nogil
 cdef void translate2d(Matrix *mat, float x, float y) nogil
 cdef void rotate_x(Matrix *mat, float angle) nogil
 cdef void rotate_y(Matrix *mat, float angle) nogil