Beispiel #1
0
    public VertexNode(List <VertexNode> parent, int index, List <Vector2> verts, float factor, bool isEnter)
    {
        parentList = parent;

        Kind = VerType.Intersection;

        t       = factor;
        inbound = isEnter;
        _other  = null;

        originIndex    = index;
        originVertices = verts;
    }
Beispiel #2
0
    public VertexNode(List <VertexNode> parent, int index, List <Vector2> verts)
    {
        parentList = parent;

        Kind = VerType.Polygon;

        t       = 0.0F;
        inbound = false;
        _other  = null;

        originIndex    = index;
        originVertices = verts;
    }