Пример #1
0
 public double DistanceTo(Double3 o) => (o - this).Length;
Пример #2
0
 public Double3 Cross(Double3 o) => new Double3(Y * o.Z - Z * o.Y, Z * o.X - X * o.Z, X * o.Y - Y * o.X);
Пример #3
0
 public double DistanceSquaredTo(Double3 o) => (o - this).LengthSquared;
Пример #4
0
 public double Dot(Double3 o) => X * o.X + Y * o.Y + Z * o.Z;