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:
Alexander Bock
2021-04-26 13:13:36 +02:00
committed by GitHub
parent 32b6a69900
commit 2aa540a112
30 changed files with 566 additions and 210 deletions
@@ -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",