Vector3DTests Reflect Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Datatypes
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void Reflect()
Examples

[Test]
public void Reflect()
{
    var v = new Vector3D(1, 1, 1);
    Assert.AreEqual(v, v.Reflect(new Vector3D(0, 0, 0)));
    Assert.AreEqual(new Vector3D(1, -1, 1), v.Reflect(new Vector3D(0, 1, 0)));
}
See Also