Namespace: DeltaEngine.Extensions
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Tests.Extensions.MathExtensionsTests
1 unit tests call DeltaEngine.Extensions.MathExtensions.Tan(System.Single)
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- degrees
- Type: System Single
Return Value
Type: SingleRemarks
Examples
[Test] public void Tan() { Assert.AreEqual(0.0f, MathExtensions.Tan(0.0f), Precision); Assert.AreEqual(0.0f, MathExtensions.Tan(180.0f), Precision); Assert.AreEqual(1.0f, MathExtensions.Tan(45.0f), Precision); }
See Also