Solve conflict

This commit is contained in:
kalbl
2016-11-23 13:34:38 +01:00
130 changed files with 2737 additions and 4309 deletions

View File

@@ -95,11 +95,11 @@ public:
void addOption(int value, std::string desc);
/**
* Appends options with vectors of values and descriptions
* \param values A std::vector<int> of values for the options
* \param descs A std::vector<string> of descriptions for each value
* Adds multiple options to the OptionProperty. Each value in the vector consists of
* an integer value and a string description.
* \param options Pairs of <option, description> that are added to the OptionProperty
*/
void addOptions(std::vector<int> values, std::vector<std::string> descs);
void addOptions(std::vector<std::pair<int, std::string>> options);
/**
* Returns the list of available options.

View File

@@ -40,9 +40,12 @@ public:
virtual ~Translation();
virtual bool initialize();
virtual glm::dvec3 position() const = 0;
virtual void update(const UpdateData& data);
glm::dvec3 position(double time);
static openspace::Documentation Documentation();
};

View File

@@ -46,6 +46,7 @@ struct UpdateData {
TransformData modelTransform;
double time;
double delta;
bool timePaused;
bool isTimeJump;
bool doPerformanceMeasurement;
};