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
2229 2229
2230const float HEAD_SPHERE_RADIUS = 0.1f;2230const float HEAD_SPHERE_RADIUS = 0.1f;
2231 2231
2232bool 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
2241void Application::updateLOD() {2232void Application::updateLOD() {
2242 PerformanceTimer perfTimer("LOD");2233 PerformanceTimer perfTimer("LOD");
2243 // adjust it unless we were asked to disable this feature, or if we're currently in throttleRendering mode2234 // adjust it unless we were asked to disable this feature, or if we're currently in throttleRendering mode