Exemplo n.º 1
0
 internal double GetDistance(CVector3Dbl rhs)
 => (Max(this, rhs) - Min(this, rhs)).GetLength();
Exemplo n.º 2
0
 internal static CVector3Dbl Max(CVector3Dbl lhs, CVector3Dbl rhs)
 => new CVector3Dbl(Math.Max(lhs.x, rhs.x),
                    Math.Max(lhs.y, rhs.y),
                    Math.Max(lhs.z, rhs.z));