mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 12:39:24 -05:00
Rename Ephemeris to Translation
This commit is contained in:
@@ -34,11 +34,11 @@
|
||||
|
||||
namespace openspace {
|
||||
|
||||
class Ephemeris : public properties::PropertyOwner {
|
||||
class Translation : public properties::PropertyOwner {
|
||||
public:
|
||||
static Ephemeris* createFromDictionary(const ghoul::Dictionary& dictionary);
|
||||
static Translation* createFromDictionary(const ghoul::Dictionary& dictionary);
|
||||
|
||||
virtual ~Ephemeris();
|
||||
virtual ~Translation();
|
||||
virtual bool initialize();
|
||||
virtual glm::dvec3 position() const = 0;
|
||||
virtual void update(const UpdateData& data);
|
||||
|
||||
@@ -103,9 +103,9 @@ public:
|
||||
|
||||
// @TODO Remove once the scalegraph is in effect ---abock
|
||||
|
||||
void setEphemeris(Ephemeris* eph) {
|
||||
delete _ephemeris;
|
||||
_ephemeris = eph;
|
||||
void setEphemeris(Translation* eph) {
|
||||
delete _translation;
|
||||
_translation = eph;
|
||||
}
|
||||
|
||||
static documentation::Documentation Documentation();
|
||||
@@ -129,7 +129,7 @@ private:
|
||||
PowerScaledScalar _boundingSphere;
|
||||
|
||||
// Transformation defined by ephemeris, rotation and scale
|
||||
Ephemeris* _ephemeris;
|
||||
Translation* _translation;
|
||||
Rotation* _rotation;
|
||||
Scale* _scale;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user