mirror of
https://github.com/HandmadeMath/HandmadeMath.git
synced 2025-09-07 10:48:17 +00:00
Changed HMM_ToRadians to use HMM_PI32
This commit is contained in:
@@ -323,7 +323,7 @@ HMMDEF hmm_vec4 operator/(hmm_vec4 Left, hmm_vec4 Right);
|
|||||||
HINLINE float
|
HINLINE float
|
||||||
HMM_ToRadians(float Degrees)
|
HMM_ToRadians(float Degrees)
|
||||||
{
|
{
|
||||||
float Result = Degrees * (Pi32 / 180.0f);
|
float Result = Degrees * (HMM_PI32 / 180.0f);
|
||||||
|
|
||||||
return (Result);
|
return (Result);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user