mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-26 05:58:48 -05:00
Feature/interactionsphere (#1561)
* Add ability to render the bounding sphere as a debug option * Separate boundingsphere and interactionspheres * Correctly compute BoundingSpheres for more renderables (RenderablePlanesCloud, RenderableOrbitalKepler)
This commit is contained in:
@@ -24,7 +24,7 @@ local initializeAndAddNodes = function()
|
||||
local iss = {
|
||||
Identifier = "ISS",
|
||||
Parent = transforms.EarthInertial.Identifier,
|
||||
BoundingSphere = 30,
|
||||
InteractionSphere = 30,
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "TLETranslation",
|
||||
|
||||
@@ -19,7 +19,7 @@ asset.onInitialize(function ()
|
||||
local Aqua = {
|
||||
Identifier = "Aqua",
|
||||
Parent = transforms.EarthInertial.Identifier,
|
||||
BoundingSphere = 30,
|
||||
InteractionSphere = 30,
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "TLETranslation",
|
||||
|
||||
@@ -19,7 +19,7 @@ asset.onInitialize(function ()
|
||||
local SNPP = {
|
||||
Identifier = "SNPP",
|
||||
Parent = transforms.EarthInertial.Identifier,
|
||||
BoundingSphere = 30,
|
||||
InteractionSphere = 30,
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "TLETranslation",
|
||||
|
||||
@@ -19,7 +19,7 @@ asset.onInitialize(function ()
|
||||
local Terra = {
|
||||
Identifier = "Terra",
|
||||
Parent = transforms.EarthInertial.Identifier,
|
||||
BoundingSphere = 30,
|
||||
InteractionSphere = 30,
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "TLETranslation",
|
||||
|
||||
Reference in New Issue
Block a user