Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/f/l/Flappy-0.3.7/flappy/display3d/vertexbuffer3d.py   Flappy(Download)
    def __init__(self, data32_per_vertex, data=None):
        self.gl_buffer = gl.createBuffer()
        self.data32_per_vertex = data32_per_vertex
        if data:
            self.upload(data)

src/f/l/Flappy-0.3.7/flappy/display3d/indexbuffer3d.py   Flappy(Download)
    def __init__(self, data=None):
        self.gl_buffer = gl.createBuffer()
        self.num_indeces = 0
        if data:
            self.upload(data)