Rename "PositionInformation" to "Ephemeris"

This commit is contained in:
Alexander Bock
2014-05-04 16:31:36 +02:00
parent e84c26aeb7
commit 794a88060f
10 changed files with 15 additions and 316 deletions
+3 -3
View File
@@ -36,7 +36,7 @@
#include <ghoul/opengl/programobject.h>
#include <ghoul/opengl/shaderobject.h>
#include <openspace/scenegraph/constantpositioninformation.h>
#include <openspace/scenegraph/constantephemeris.h>
#include <openspace/engine/openspaceengine.h>
#include <openspace/util/factorymanager.h>
@@ -104,7 +104,7 @@ SceneGraphNode* SceneGraphNode::createFromDictionary(const ghoul::Dictionary& di
}
}
if (dictionary.hasKey(keyEphemeris)) {
if (safeCreationWithDictionary<PositionInformation>(
if (safeCreationWithDictionary<Ephemeris>(
&result->_position, keyEphemeris, dictionary,
path)) {
LDEBUG(result->_nodeName << ": Successful creation of position");
@@ -134,7 +134,7 @@ SceneGraphNode* SceneGraphNode::createFromDictionary(const ghoul::Dictionary& di
SceneGraphNode::SceneGraphNode()
: _parent(nullptr)
, _nodeName("")
, _position(new ConstantPositionInformation)
, _position(new ConstantEphemeris)
, _renderable(nullptr)
, _renderableVisible(false)
, _boundingSphereVisible(false)