private Mesh ConvertGroup(IWavefrontObj wavefrontObj, Group group) { var mesh = new Mesh(); foreach (var face in group.Faces) { ConvertFace(wavefrontObj, face, mesh); mesh.Name = group.Name; } return mesh; }
public void PushGroup(string groupName) { _currentGroup = new Group(groupName); _groups.Add(_currentGroup); }