1
0
Fork 0
Bildschirmflausch-LD41/Assets/Scripts/Generation/GenEdge.cs

14 lines
252 B
C#

using System;
using UnityEngine;
public class GenEdge {
public GenVertex r1, r2;
public double dist;
public GenEdge(GenVertex r1, GenVertex r2) {
this.r1 = r1;
this.r2 = r2;
dist = r1.r.distance(r2.r);
}
}