comparison pytouhou/utils/matrix.pxd @ 423:d8630c086926

Replace Pyglet with our own Cython OpenGL wrapper.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 16 Jul 2013 21:07:15 +0200
parents efae61ad6efe
children 878273a984c4
comparison
equal deleted inserted replaced
422:52829ebe2561 423:d8630c086926
1 cdef float* matrix_to_floats(Matrix self)
2
1 cdef class Matrix: 3 cdef class Matrix:
2 cdef public list data 4 cdef public list data
5 cdef float *c_data
3 6
4 cpdef flip(self) 7 cpdef flip(self)
5 cpdef scale(self, x, y, z) 8 cpdef scale(self, x, y, z)
6 cpdef scale2d(self, x, y) 9 cpdef scale2d(self, x, y)
7 cpdef translate(self, x, y, z) 10 cpdef translate(self, x, y, z)