feat: missing extension methods for Math.Tan and Atan
This commit is contained in:
@@ -32,12 +32,18 @@ public static class MathExtensions
|
|||||||
/// <inheritdoc cref="Math.Sin(float)" />
|
/// <inheritdoc cref="Math.Sin(float)" />
|
||||||
public static float Sin(this float x) => Math.Sin(x);
|
public static float Sin(this float x) => Math.Sin(x);
|
||||||
|
|
||||||
|
/// <inheritdoc cref="Math.Tan(float)" />
|
||||||
|
public static float Tan(this float x) => Math.Tan(x);
|
||||||
|
|
||||||
/// <inheritdoc cref="Math.Acos(float)" />
|
/// <inheritdoc cref="Math.Acos(float)" />
|
||||||
public static float Acos(this float x) => Math.Acos(x);
|
public static float Acos(this float x) => Math.Acos(x);
|
||||||
|
|
||||||
/// <inheritdoc cref="Math.Asin(float)" />
|
/// <inheritdoc cref="Math.Asin(float)" />
|
||||||
public static float Asin(this float x) => Math.Asin(x);
|
public static float Asin(this float x) => Math.Asin(x);
|
||||||
|
|
||||||
|
/// <inheritdoc cref="Math.Atan(float)" />
|
||||||
|
public static float Atan(this float x) => Math.Atan(x);
|
||||||
|
|
||||||
/// <inheritdoc cref="Math.Atan2(float, float)" />
|
/// <inheritdoc cref="Math.Atan2(float, float)" />
|
||||||
public static float Atan2(this float y, float x) => Math.Atan2(y, x);
|
public static float Atan2(this float y, float x) => Math.Atan2(y, x);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user