1 module beziermeshmaker.datastructures.input.polymesh;
2 
3 import beziermeshmaker.datastructures.vec3;
4 import beziermeshmaker.datastructures.input.polygon;
5 
6 class PolyMesh {
7 	Polygon[] polygons;
8 
9 	/*
10 	 * Vertices of a polygon needn't be planar or have a bounded number, but the polygon should be convex.
11 	 */
12 	public void addPolygon(Polygon poly) {
13 		polygons ~= [poly];
14 	}
15 }