mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 13:08:49 -05:00
Add event to toggle JWST trail when approaching or going away
This commit is contained in:
@@ -693,6 +693,8 @@ void RenderableModel::update(const UpdateData& data) {
|
||||
glm::compMax(data.modelTransform.scale)
|
||||
);
|
||||
|
||||
setInteractionSphere(_boundingSphere);
|
||||
|
||||
if (_geometry->hasAnimation() && !_animationStart.empty()) {
|
||||
double relativeTime;
|
||||
double now = data.time.j2000Seconds();
|
||||
|
||||
Reference in New Issue
Block a user