(self)
Compile the shaders.
Compile the shaders.
Compile the shaders .
def compile(self):
        """Compile the shaders."""
        # print self.vertex_shader
        # print self.fragment_shader
        self.vs = self.compile_shader(self.vertex_shader, gl.GL_VERTEX_SHADER)
        self.fs = self.compile_shader(self.fragment_shader, gl.GL_FRAGMENT_SHADER)
def compile ( self ) : # print self.vertex_shader # print self.fragment_shader self . vs = self . compile_shader ( self . vertex_shader , gl . GL_VERTEX_SHADER ) self . fs = self . compile_shader ( self . fragment_shader , gl . GL_FRAGMENT_SHADER )