コード例 #1
0
 public static ValPosCrt SubPos(this ValPosCrt self, ValPosCrt target)
 => new ValPosCrt(self.X - target.X, self.Y - target.Y, self.Value);
コード例 #2
0
 public static ValPosCrt AddPos(this ValPosCrt self, ValPosCrt target)
 => new ValPosCrt(self.X + target.X, self.Y + target.Y, self.Value);