Пример #1
0
 public static Point3I Subtract(Point3I p, Vector3I v)
 {
     return(new Point3I(p.X - v.X, p.Y - v.Y, p.Z - v.Z));
 }
Пример #2
0
 public Point3I(Vector3I from)
 {
     this.X = from.X;
     this.Y = from.Y;
     this.Z = from.Z;
 }
Пример #3
0
 public static Point3I Add(Point3I p, Vector3I v)
 {
     return(new Point3I(p.X + v.X, p.Y + v.Y, p.Z + v.Z));
 }