Ejemplo n.º 1
0
        public void Vector3iDot()
        {
            Vector3i
                p = new Vector3i(1, 4, 3),
                q = new Vector3i(2, 4, 16);
            int
                actual   = p.Dot(q),
                expected = 66;

            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 2
0
 public static float Dot(Vector3i a, Vector3i b)
 {
     return(Vector3i.Dot(a, b));
 }