Exemple #1
0
 public float distance(VectorNode to) {
   return (float) location.distanceSquared(to.location);
 }
Exemple #2
0
 boolean at(Vector3f goal) {
   return location.distanceSquared(goal) <= 4;
 }