From 666393fdadb51d5541aa8e40deeb74434673bc4d Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Thu, 6 Feb 2014 20:05:48 -0800 Subject: [PATCH] removed dead code --- interface/src/Camera.cpp | 1 - interface/src/Camera.h | 8 -------- 2 files changed, 9 deletions(-) diff --git a/interface/src/Camera.cpp b/interface/src/Camera.cpp index 4cd7059457..3dcc7a7089 100644 --- a/interface/src/Camera.cpp +++ b/interface/src/Camera.cpp @@ -57,7 +57,6 @@ Camera::Camera() : _linearModeShift(0.0f), _modeShiftRate(1.0f), _scale(1.0f) - //,_wantsAutoFollow(true) { } diff --git a/interface/src/Camera.h b/interface/src/Camera.h index 65109492fd..7ad3a0e626 100644 --- a/interface/src/Camera.h +++ b/interface/src/Camera.h @@ -67,9 +67,6 @@ public: bool getFrustumNeedsReshape() const; // call to find out if the view frustum needs to be reshaped void setFrustumWasReshaped(); // call this after reshaping the view frustum. - bool getWantsAutoFollow() const { return _wantsAutoFollow; } - void setWantsAutoFollow(bool value) { _wantsAutoFollow = value; } - private: bool _needsToInitialize; @@ -101,8 +98,6 @@ private: float _modeShiftRate; float _scale; - bool _wantsAutoFollow; - void updateFollowMode(float deltaTime); }; @@ -118,9 +113,6 @@ public slots: void setPosition(const glm::vec3& p); glm::vec3 getPosition() const { return _camera->getPosition(); } - //bool getWantsAutoFollow() const { return _camera->getWantsAutoFollow(); } - //void setWantsAutoFollow(bool value) { _camera->setWantsAutoFollow(value); } - private: Camera* _camera; };