Convert all Math calls to MathF to avoid conversions
This commit is contained in:
parent
daa7f7241d
commit
1e3d0252f8
2 changed files with 20 additions and 20 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue