mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
changed how time keyframes are used
This commit is contained in:
@@ -86,18 +86,18 @@ public:
|
||||
* Sets the current time to the specified value in seconds past the J2000 epoch. This
|
||||
* value can be negative to represent dates before the epoch.
|
||||
* \param value The number of seconds after the J2000 epoch
|
||||
* \param requireJump Wether or not the time change is big enough to require a time-jump, defaults to false
|
||||
* \param requireJump Wether or not the time change is big enough to require a time-jump, defaults to true as most calls to set time will require recomputation of planetary paths etc.
|
||||
*/
|
||||
void setTime(double value, bool requireJump = false);
|
||||
void setTime(double value, bool requireJump = true);
|
||||
|
||||
/**
|
||||
* Sets the current time to the specified value given as a Spice compliant string as
|
||||
* described in the Spice documentation
|
||||
* (http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/str2et_c.html)
|
||||
* \param time The time to be set as a date string
|
||||
* \param requireJump Wether or not the time change is big enough to require a time-jump, defaults to false
|
||||
* \param requireJump Wether or not the time change is big enough to require a time-jump, defaults to true as most calls to set time will require recomputation of planetary paths etc.
|
||||
*/
|
||||
void setTime(std::string time, bool requireJump = false);
|
||||
void setTime(std::string time, bool requireJump = true);
|
||||
|
||||
/**
|
||||
* Returns the current time as the number of seconds past the J2000 epoch. If the
|
||||
|
||||
Reference in New Issue
Block a user