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:
Trent Polack 2017-05-02 19:10:33 -04:00 committed by GitHub
parent f79e032841
commit 0a5dfbb9af

View file

@ -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