mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-14 01:10:11 -05:00
Remove a non-used function
This commit is contained in:
@@ -89,17 +89,6 @@ const bool AutoNavigationHandler::hasFinished() const {
|
||||
return _currentTime > pathDuration();
|
||||
}
|
||||
|
||||
const int AutoNavigationHandler::currentPathSegmentIndex() const {
|
||||
for (int i = 0; i < _pathSegments.size(); ++i) {
|
||||
const PathSegment& ps = _pathSegments[i];
|
||||
double endTime = ps.startTime() + ps.duration();
|
||||
if (endTime > _currentTime) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
CameraState AutoNavigationHandler::currentCameraState() {
|
||||
CameraState cs;
|
||||
cs.position = camera()->positionVec3();
|
||||
|
||||
@@ -53,7 +53,6 @@ public:
|
||||
Camera* camera() const;
|
||||
const double pathDuration() const;
|
||||
const bool hasFinished() const;
|
||||
const int currentPathSegmentIndex() const;
|
||||
CameraState currentCameraState();
|
||||
|
||||
void updateCamera(double deltaTime);
|
||||
|
||||
Reference in New Issue
Block a user