comparison pytouhou/ui/opengl/shader.pxd @ 523:6e3b3d5d4691

Make matrix a struct.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 18 Dec 2013 17:53:29 +0100
parents 5e3e0b09a531
children 538b52aafbca
comparison
equal deleted inserted replaced
522:e8496e5ba056 523:6e3b3d5d4691
10 cdef void link(self) except * 10 cdef void link(self) except *
11 cdef GLint get_uniform_location(self, name) except -1 11 cdef GLint get_uniform_location(self, name) except -1
12 cdef void bind(self) nogil 12 cdef void bind(self) nogil
13 cdef void uniform_1(self, name, GLfloat val) except * 13 cdef void uniform_1(self, name, GLfloat val) except *
14 cdef void uniform_4(self, name, GLfloat a, GLfloat b, GLfloat c, GLfloat d) except * 14 cdef void uniform_4(self, name, GLfloat a, GLfloat b, GLfloat c, GLfloat d) except *
15 cdef void uniform_matrix(self, name, Matrix mat) except * 15 cdef void uniform_matrix(self, name, Matrix *mat) except *