Remove a non-used function

This commit is contained in:
Emma Broman
2020-02-17 15:02:43 -05:00
parent 3282f08ae6
commit ff419371fa
2 changed files with 0 additions and 12 deletions

View File

@@ -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();

View File

@@ -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);