code: def vector_to_gl(array, *args):
      
      array = np.array(array)
      if len(args) > 0:
          array = np.append(array, args)
      vector = (gl.GLfloat * len(array))(*array)
      return vector
docs: Convert an array and an optional set of args into a
      flat vector of gl.GLfloat