private void SaveModel(string filename) { using (var file = new BufferedStream( new FileStream(filename, FileMode.CreateNew), 128 * 1024)) { var writer = new Mesh.MeshWriter(file); writer.WriteMesh(ref m_Vertices, ref m_Indices, this); } }
private void SaveModel(string filename) { using (var file = new BufferedStream( new FileStream(filename, FileMode.CreateNew), 128 * 1024)) { var writer = new Mesh.MeshWriter(file); writer.WriteMesh(ref m_Vertices, ref m_Indices, this); } }