예제 #1
0
        public Edge(EdgeEndpoint start, EdgeEndpoint end, float weight)
        {
            Start = start;
            End   = end;

            Weight = weight;
        }
예제 #2
0
        public Edge(EdgeEndpoint start, EdgeEndpoint end)
        {
            Start = start;
            End   = end;

            Weight = math.distance(V1, V2);
        }