mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 20:50:59 -05:00
fixed renderabletrail class to suit for all different delta times, tropical orbits etc etc. lot of stuff to do with precision and set time intervals (pain in the ass). works clockwork.
changes to modules etc. will do more fixes soon. Incoming.
This commit is contained in:
@@ -61,14 +61,13 @@ public:
|
||||
std::string _orbitVariety;
|
||||
// color
|
||||
glm::vec3 _c;
|
||||
double _r, _g, _b;
|
||||
float _r, _g, _b;
|
||||
// orbit relational data
|
||||
double _tropic;
|
||||
double _ratio;
|
||||
double _day;
|
||||
float _tropic;
|
||||
float _ratio;
|
||||
float _day;
|
||||
|
||||
// need to write robust method for vbo id selection
|
||||
// (right now galactic grid has to be present) (why though?) solve later...
|
||||
GLuint _vaoID ;
|
||||
GLuint _vBufferID ;
|
||||
GLuint _iBufferID;
|
||||
@@ -89,12 +88,13 @@ public:
|
||||
int* _iarray;
|
||||
|
||||
bool _once = false;
|
||||
|
||||
double lightTime;
|
||||
//used for update of trail
|
||||
psc _pscpos, _pscvel;
|
||||
double _increment;
|
||||
double _time = 0;
|
||||
double _oldTime = 0;
|
||||
float _increment;
|
||||
float _time = 0;
|
||||
float _oldTime = 0;
|
||||
float _dtEt;
|
||||
|
||||
int _delta = 0;
|
||||
int _dtprogress = 0;
|
||||
|
||||
Reference in New Issue
Block a user