From 0a5dfbb9af15bf2373eff2070903826d074bdf0a Mon Sep 17 00:00:00 2001 From: Trent Polack Date: Tue, 2 May 2017 19:10:33 -0400 Subject: [PATCH] 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. --- interface/src/avatar/MyAvatar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/avatar/MyAvatar.cpp b/interface/src/avatar/MyAvatar.cpp index 98afdb56c0..29848da89d 100644 --- a/interface/src/avatar/MyAvatar.cpp +++ b/interface/src/avatar/MyAvatar.cpp @@ -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