public CSGPolygon(List <CSGVertex> vertices, CSGShared shared)
    {
        this.vertices = vertices;

        this.shared = shared;

        this.plane = CSGPlane.fromPoints(vertices[0].pos, vertices[1].pos, vertices[2].pos);
    }
    public CSGPolygon(CSGVertex[] verticesArray, CSGShared shared)
    {
        this.vertices = new List <CSGVertex>(verticesArray);

        this.shared = shared;

        this.plane = CSGPlane.fromPoints(vertices[0].pos, vertices[1].pos, vertices[2].pos);
    }