1
0
Fork 0
Bildschirmflausch-LD41/Assets/Scripts/Generation/GenEdge.cs
2018-04-22 16:20:25 +02:00

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);
}
}