mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-04 01:39:47 -05:00
Units in light years and interaction sphere
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
This commit is contained in:
@@ -1,10 +1,21 @@
|
||||
local lightyear = 9.4607304725808E15
|
||||
local parsec = 3.0856776E16
|
||||
|
||||
local Node = {
|
||||
Identifier = "Blackhole_Example",
|
||||
InteractionSphere = 1 * parsec,
|
||||
BoundingSphere = 1 * parsec,
|
||||
Transform = {
|
||||
Translation = {
|
||||
Type = "StaticTranslation",
|
||||
Position = { 10, 20, 30 }
|
||||
}
|
||||
},
|
||||
Renderable = {
|
||||
Type = "RenderableBlackHole",
|
||||
},
|
||||
GUI = {
|
||||
Name = "Schwarzchild Blackhole - Example",
|
||||
Name = "Schwarzchild Blackhole",
|
||||
Path = "/Blackholes"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 30
|
||||
"z": 80.4607304725808E15
|
||||
},
|
||||
"type": "setNavigationState",
|
||||
"up": {
|
||||
|
||||
Reference in New Issue
Block a user