Пример #1
0
 public Pos Subtract(Pos pos)
 {
     return(new Pos(this.x - pos.x, this.y - pos.y, this.z - pos.z));
 }
Пример #2
0
 public Pos Add(Pos pos)
 {
     return(new Pos(this.x + pos.x, this.y + pos.y, this.z + pos.z));
 }