mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Changed l to interp.
In my defense, if anyone ever looked at it and thought the 'l' was a '1', they should never be programming unless they used a special language where you could reassign numbers.
This commit is contained in:
parent
f79e032841
commit
0a5dfbb9af
1 changed files with 2 additions and 2 deletions
|
@ -276,8 +276,8 @@ glm::quat MyAvatar::getOrientationOutbound() const {
|
|||
|
||||
// Smooth the remote avatar movement.
|
||||
float t = _smoothOrientationTimer / _smoothOrientationTime;
|
||||
float l = easeInOutQuad(glm::clamp(t, 0.0f, 1.0f));
|
||||
return (slerp(_smoothOrientationInitial, _smoothOrientationTarget, l));
|
||||
float interp = easeInOutQuad(glm::clamp(t, 0.0f, 1.0f));
|
||||
return (slerp(_smoothOrientationInitial, _smoothOrientationTarget, interp));
|
||||
}
|
||||
|
||||
// virtual
|
||||
|
|
Loading…
Reference in a new issue