mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-10 21:49:38 -06:00
Update function focusPosition in Camera and add a solar path for OSIRIS REx.
This commit is contained in:
@@ -51,6 +51,7 @@ namespace {
|
||||
const std::string keyTimeSteps = "TimeSteps";
|
||||
const std::string keyPointSteps = "PointSteps";
|
||||
const std::string keyDrawLine = "DrawLine";
|
||||
const std::string keRenderDistanceInterval = "RenderDistanceInterval";
|
||||
|
||||
}
|
||||
|
||||
@@ -74,8 +75,10 @@ RenderablePath::RenderablePath(const ghoul::Dictionary& dictionary)
|
||||
_successfullDictionaryFetch &= dictionary.getValue(keyFrame, _frame);
|
||||
_successfullDictionaryFetch &= dictionary.getValue(keyTimeSteps, _increment);
|
||||
|
||||
if (!dictionary.getValue(keyPointSteps, _pointSteps))
|
||||
_pointSteps = 4;
|
||||
float fPointSteps; // Dictionary can not pick out ints...
|
||||
if (!dictionary.getValue(keyPointSteps, fPointSteps))
|
||||
fPointSteps = 4;
|
||||
_pointSteps = fPointSteps;
|
||||
|
||||
glm::vec3 color(0.f);
|
||||
if (dictionary.hasKeyAndValue<glm::vec3>(keyColor))
|
||||
|
||||
Reference in New Issue
Block a user