예제 #1
0
        public void AlmostEqual2()
        {
            Matrix3D m1 = new Matrix3D().RotateOTS(new Vector3D(15, 0, 0));
            Matrix3D m2 = new Matrix3D().RotateOTS(new Vector3D(15, 0, 0));

            Assert.True(m1.AlmostEqual(m2));
            Matrix3D m3 = new Matrix3D().RotateOTS(new Vector3D(15, 12, 0));

            Assert.False(m1.AlmostEqual(m3));
        }