Example #1
0
 @Override
 public Position subtract(Vector3 x) {
   return this.add(-x.getX(), -x.getY(), -x.getZ());
 }
Example #2
0
 @Override
 public Position add(Vector3 x) {
   return new Position(this.x + x.getX(), this.y + x.getY(), this.z + x.getZ(), this.level);
 }