History

Remove redundant code

David Rowe committed 11 years ago

Commit fada70f1 parent bc4c6354 files · +0 −29Browse files

Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all

Unified · Split

interface/src/Application.cpp+0−9
@@ -2229,15 +2229,6 @@ void Application::shrinkMirrorView() { · 2228 unmodified lines
22292229
22302230 const float HEAD_SPHERE_RADIUS = 0.1f;
22312231
2232−bool Application::isLookingAtMyAvatar(Avatar* avatar) {
2233− glm::vec3 theirLookAt = avatar->getHead()->getLookAtPosition();
2234− glm::vec3 myEyePosition = _myAvatar->getHead()->getEyePosition();
2235− if (pointInSphere(theirLookAt, myEyePosition, HEAD_SPHERE_RADIUS * _myAvatar->getScale())) {
2236− return true;
2237− }
2238− return false;
2239−}
2240−
22412232 void Application::updateLOD() {
22422233 PerformanceTimer perfTimer("LOD");
22432234 // adjust it unless we were asked to disable this feature, or if we're currently in throttleRendering mode