Esempio n. 1
0
 public float DistanceSq(DirectedNode node) => math.distancesq(node.position, this.position);
Esempio n. 2
0
 public Line LineTo(DirectedNode node) => new Line(this.position, node.position);
Esempio n. 3
0
 public float3 Dir(DirectedNode node) => node.position - this.position;
Esempio n. 4
0
 public float DistanceSq(DirectedNode node) => Dif(node).sqrMagnitude;
Esempio n. 5
0
 public float Distance(DirectedNode node) => Vector3.Distance(node.position, this.position);
Esempio n. 6
0
 public Vector3 Dif(DirectedNode node) => node.position - this.position;