示例#1
0
 @Override
 public Position subtract(Vector3 x) {
   return this.add(-x.getX(), -x.getY(), -x.getZ());
 }
示例#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);
 }