private void ResetModelsToOrigin() { List <List <Vertex> > myTempList = new List <List <Vertex> >(); List <string> myNames = new List <string>(); for (int i = 0; i < OpenGLControl.GLrender.Models3D.Count; i++) { List <Vertex> myVertices = OpenGLControl.GLrender.Models3D[i].VertexList; myTempList.Add(myVertices); myNames.Add(OpenGLControl.GLrender.Models3D[i].Name); } OpenGLControl.RemoveAllModels(); for (int i = 0; i < myTempList.Count; i++) { List <Vertex> myVertices = myTempList[i]; Vertices.GetVertexMax(myVertices); this.OpenGLControl.ShowPointCloud(myNames[i], myVertices); } }