Rename Norm to Normalize
To make it uniforms with Raylib's functions
This commit is contained in:
parent
f88638fdaa
commit
6bdc30e774
|
|
@ -155,7 +155,7 @@ RMDEF float Lerp(float start, float end, float amount)
|
|||
}
|
||||
|
||||
// Normalize input value within input range
|
||||
RMDEF float Norm(float value, float start, float end)
|
||||
RMDEF float Normalize(float value, float start, float end)
|
||||
{
|
||||
return (value - start) / (end - start);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user