Drawing objects from a vertex/edge/polygon list