(primtype, bounds)
Render several arrays of primitives.
Render several arrays of primitives.
Render several arrays of primitives .
def draw_multi_arrays(primtype, bounds):
        """Render several arrays of primitives."""
        first = bounds[:-1]
        count = np.diff(bounds)
        primcount = len(bounds) - 1
        gl.glMultiDrawArrays(primtype, first, count, primcount)
def draw_multi_arrays ( primtype , bounds ) : first = bounds [ : - 1 ] count = np . diff ( bounds ) primcount = len ( bounds ) - 1 gl . glMultiDrawArrays ( primtype , first , count , primcount )