Increase precision of renderable trail and use that for showing the path of OSIRIS-REx.

This commit is contained in:
Kalle Bladin
2016-08-17 14:44:42 -04:00
parent 93ceb176fa
commit 176fc02748
5 changed files with 65 additions and 36 deletions

View File

@@ -148,7 +148,7 @@ void RenderablePath::render(const RenderData& data) {
return;
int nPointsToDraw = (time - _start) / (_stop - _start) * (_vertexArray.size()) + 1 + 0.5;
int nPointsToDraw = _vertexArray.size();// (time - _start) / (_stop - _start) * (_vertexArray.size()) + 1 + 0.5;
_programObject->activate();