mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 11:18:22 -05:00
Preparatory refactoring for computing curve position absed on travelled distance
This commit is contained in:
@@ -133,6 +133,8 @@ void AutoNavigationHandler::updateCamera(double deltaTime) {
|
||||
double t = (_currentTime - cps.startTime()) / cps.duration();
|
||||
t = std::max(0.0, std::min(t, 1.0));
|
||||
|
||||
// TODO: compute interpolation variable using travelled distnace instead
|
||||
|
||||
// TODO: don't set every frame
|
||||
// Set anchor node in orbitalNavigator, to render visible nodes and
|
||||
// add possibility to navigate when we reach the end.
|
||||
|
||||
Reference in New Issue
Block a user