Exemplo n.º 1
0
 public void TestNormalisedExpected(Vector3D v, double expectedX, double expectedY, double expectedZ)
 {
     v.Normalise();
     TestXYZ(v, expectedX, expectedY, expectedZ);
 }
Exemplo n.º 2
0
 public void TestInvalidNormalise()
 {
     Vector3D zeroVector = new Vector3D(0, 0, 0);
     zeroVector.Normalise();
     TestXYZ(zeroVector, 0, 0, 0);
 }