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/p/y/PyGLy-HEAD/pygly/examples/renderable_cube.py   PyGLy(Download)
    (1.0, 0.0, 0.0,),
)
vertices, indices = geometry.create_cube(scale=(2.0,2.0,2.0), rgba=rgba, dtype='float32')
vertices = vertices[indices]
vertices.dtype = [

src/p/y/PyGLy-HEAD/pygly/examples/renderable_colour_cube.py   PyGLy(Download)
 
 
vertices, indices = geometry.create_cube(scale=(2.0,2.0,2.0), dtype='float32')
vertices = vertices[indices]
vertices.dtype = [('position', 'float32', (3,)),]