added cDrawObject indexed draw method