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