Fix mistake in comment
This commit is contained in:
parent
06665f33ac
commit
ec313ebab6
|
|
@ -148,7 +148,7 @@ RMDEF float Clamp(float value, float min, float max)
|
||||||
return res > max ? max : res;
|
return res > max ? max : res;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Calculate linear interpolation between two vectors
|
// Calculate linear interpolation between two floats
|
||||||
RMDEF float Lerp(float start, float end, float amount)
|
RMDEF float Lerp(float start, float end, float amount)
|
||||||
{
|
{
|
||||||
return start + amount*(end - start);
|
return start + amount*(end - start);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user