MathExtensionsTests Atan2 Method Delta Engine Documentation

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

public void Atan2()
Examples

[Test]
public void Atan2()
{
    Assert.AreEqual(0.0f, MathExtensions.Atan2(0, 0));
    Assert.AreEqual(90.0f, MathExtensions.Atan2(1, 0));
    Assert.AreEqual(-135.0f, MathExtensions.Atan2(-1, -1));
}
See Also