diff --git a/interface/src/AvatarTouch.cpp b/interface/src/AvatarTouch.cpp index 2072848902..c598cc9a03 100644 --- a/interface/src/AvatarTouch.cpp +++ b/interface/src/AvatarTouch.cpp @@ -75,7 +75,7 @@ void AvatarTouch::render(glm::vec3 cameraPosition) { p.y = 0.0005f; renderCircle(p, _reachableRadius, glm::vec3(0.0f, 1.0f, 0.0f), 30); - // show if we are golding hands... + // show if we are holding hands... if (_weAreHoldingHands) { renderBeamBetweenHands(); diff --git a/interface/src/Camera.cpp b/interface/src/Camera.cpp index 1b1dc56ae2..fa0744bf49 100644 --- a/interface/src/Camera.cpp +++ b/interface/src/Camera.cpp @@ -83,7 +83,7 @@ void Camera::updateFollowMode(float deltaTime) { if (_linearModeShift < 1.0f) { _linearModeShift += _modeShiftRate * deltaTime; - _modeShift = ONE_HALF - ONE_HALF * cosf(_linearModeShift * PIE * 1.0); + _modeShift = ONE_HALF - ONE_HALF * cosf(_linearModeShift * PIE ); _upShift = _previousUpShift * (1.0f - _modeShift) + _newUpShift * _modeShift; _distance = _previousDistance * (1.0f - _modeShift) + _newDistance * _modeShift;