2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-06-30 19:03:42 -04:00

Convert all Math calls to MathF to avoid conversions

This commit is contained in:
Spec-Chum
2020-12-23 15:58:08 +00:00
parent daa7f7241d
commit 1e3d0252f8
2 changed files with 20 additions and 20 deletions

View File

@ -858,8 +858,8 @@ namespace Raylib_cs
public const string RAYLIB_VERSION = "3.0";
public const float DEG2RAD = (float)Math.PI / 180.0f;
public const float RAD2DEG = 180.0f / (float)Math.PI;
public const float DEG2RAD = MathF.PI / 180.0f;
public const float RAD2DEG = 180.0f / MathF.PI;
public const int MAX_SHADER_LOCATIONS = 32;
public const int MAX_MATERIAL_MAPS = 12;