mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:24:00 +02:00
removed dead code
This commit is contained in:
parent
77e7f336d5
commit
666393fdad
2 changed files with 0 additions and 9 deletions
|
@ -57,7 +57,6 @@ Camera::Camera() :
|
|||
_linearModeShift(0.0f),
|
||||
_modeShiftRate(1.0f),
|
||||
_scale(1.0f)
|
||||
//,_wantsAutoFollow(true)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue