Added missing HMM_FastInverseSquareRoot prototype

This commit is contained in:
Kyle De'Vir
2016-05-29 03:58:21 +10:00
parent 004b65f6e3
commit 6a1e42ed74

View File

@@ -223,6 +223,7 @@ HMMDEF float HMM_ToRadians(float Degrees);
HMMDEF float HMM_Inner(hmm_vec3 A, hmm_vec3 B);
HMMDEF float HMM_SquareRoot(float Float);
HMMDEF float HMM_LengthSquareRoot(hmm_vec3 A);
HMMDEF float HMM_FastInverseSquareRoot(float Number);
HMMDEF float HMM_Length(hmm_vec3 A);
HMMDEF float HMM_Power(float Base, int Exponent);
HMMDEF float HMM_Clamp(float Min, float Value, float Max);
@@ -343,6 +344,14 @@ HMM_SquareRoot(float Float)
return(Result);
}
HINLINE float
HMM_LengthSquareRoot(hmm_vec3 A)
{
float Result = HMM_Inner(A, A);
return (Result);
}
HINLINE float
HMM_FastInverseSquareRoot(float Number)
{
@@ -361,14 +370,6 @@ HMM_FastInverseSquareRoot(float Number)
return ( y );
}
HINLINE float
HMM_LengthSquareRoot(hmm_vec3 A)
{
float Result = HMM_Inner(A, A);
return (Result);
}
HINLINE float
HMM_Length(hmm_vec3 A)
{