From 4bdd32b8084e83bbef5b7d9450752f4574e1cab5 Mon Sep 17 00:00:00 2001 From: Syntriax Date: Thu, 23 Oct 2025 12:45:00 +0300 Subject: [PATCH] feat: missing extension methods for Math.Tan and Atan --- Engine.Core/MathExtensions.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Engine.Core/MathExtensions.cs b/Engine.Core/MathExtensions.cs index d1fd4aa..ac67041 100644 --- a/Engine.Core/MathExtensions.cs +++ b/Engine.Core/MathExtensions.cs @@ -32,12 +32,18 @@ public static class MathExtensions /// public static float Sin(this float x) => Math.Sin(x); + /// + public static float Tan(this float x) => Math.Tan(x); + /// public static float Acos(this float x) => Math.Acos(x); /// public static float Asin(this float x) => Math.Asin(x); + /// + public static float Atan(this float x) => Math.Atan(x); + /// public static float Atan2(this float y, float x) => Math.Atan2(y, x);