If I try and add new vertices it screws with the index buffer. I think I need a small sample of the source code or a detailed explanation.