public void MirrorAtNormal() { Vector2D vector = new Vector2D(1, 0); Vector2D normal = new Vector2D(1, -1); Assert.That(vector.MirrorAtNormal(normal), Is.EqualTo(new Vector2D(0, 1))); }
public void MirrorAtNormal() { Vector2D vector = new Vector2D(1, 0); Vector2D normal = new Vector2D(1, -1); Assert.That(vector.MirrorAtNormal(normal), Is.EqualTo(new Vector2D(0, 1))); }