comparison pytouhou/utils/matrix.pxd @ 620:e5361b74b9ad

Remove 3d scaling code for matrix, as it isn’t used anywhere in the codebase.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 01 Apr 2015 02:28:54 +0200
parents db28538cd399
children
comparison
equal deleted inserted replaced
619:39874a722b76 620:e5361b74b9ad
7 cdef Matrix *new_matrix(Matrix *data) nogil 7 cdef Matrix *new_matrix(Matrix *data) nogil
8 cdef Matrix *new_identity() nogil 8 cdef Matrix *new_identity() nogil
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
13 cdef void scale2d(Matrix *mat, float x, float y) nogil 12 cdef void scale2d(Matrix *mat, float x, float y) nogil
14 cdef void translate(Matrix *mat, float[3] offset) nogil 13 cdef void translate(Matrix *mat, float[3] offset) nogil
15 cdef void translate2d(Matrix *mat, float x, float y) nogil 14 cdef void translate2d(Matrix *mat, float x, float y) nogil
16 cdef void rotate_x(Matrix *mat, float angle) nogil 15 cdef void rotate_x(Matrix *mat, float angle) nogil
17 cdef void rotate_y(Matrix *mat, float angle) nogil 16 cdef void rotate_y(Matrix *mat, float angle) nogil