static void Main(string[] args) { Console.WriteLine("Hello World!"); var igloo = new Igloo(); igloo.Build(); StlWriter.Create(@"C:\Temp\igloo.stl", igloo.Triangles, igloo.Vertexes); Console.WriteLine("Done!"); }
public bool TestUse(Igloo obj) { if (!TestRepaired(obj)) { return(false); } if (obj.UseCount > 0) { return(false); } if (obj.NumberOfSpots() < 2) { return(false); } return(true); }