예제 #1
0
        public void ProjectOntoWorks()
        {
            var v = new Vector2d(3, 7);
            var axis = new Vector2d(8, 0);

            var projection = v.ProjectOnto(axis);

            Assert.True(projection.Equivalent(new Vector2d(3, 0)));
        }