Update updatestructures to have transform with translation, rotation and scale.

This commit is contained in:
Kalle Bladin
2016-08-18 16:59:51 -04:00
parent ae1f8e457b
commit 628f8b479f
10 changed files with 37 additions and 44 deletions
+7 -19
View File
@@ -5,16 +5,13 @@ return {
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "StaticEphemeris",
Position = {0,0,0},
},
Rotation = {
Type = "StaticRotation",
EulerAngles = {0,0,0},
},
Scale = {
Type = "StaticScale",
Scale = 1,
Type = "SpiceEphemeris",
Body = "EARTH",
Reference = "ECLIPJ2000",
Observer = "SUN",
Kernels = {
"${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
}
},
},
},
@@ -39,15 +36,6 @@ return {
Name = "LodEarth",
Parent = "EarthBarycenter",
Transform = {
Translation = {
Type = "SpiceEphemeris",
Body = "EARTH",
Reference = "ECLIPJ2000",
Observer = "SUN",
Kernels = {
"${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
}
},
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_EARTH",