From 632d1b02c97cee4755d867196d18b625d8bbb91c Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 1 May 2024 21:13:30 +0200 Subject: [PATCH] set actual scale of planets, though now they glitch on close zoom-in this is due to floating point precision error, need to move render origin to the center of the camera --- src/data/defs.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/data/defs.txt b/src/data/defs.txt index 1a0cfbf..0c5e250 100644 --- a/src/data/defs.txt +++ b/src/data/defs.txt @@ -10,7 +10,7 @@ actor 0 0 0 planet yes sphere yes physics off - scale 1e9 + scale 2439.7e3 rotationx -0.50 orbitaround sol 57.91e9 actor 0 0 0 orbitring @@ -24,7 +24,7 @@ actor 0 0 0 planet yes sphere yes physics off - scale 1e9 + scale 6051.8e3 rotationx -0.50 orbitaround sol 108.21e9 actor 0 0 0 orbitring @@ -38,7 +38,7 @@ actor 0 0 0 planet yes sphere yes physics off - scale 1e9 + scale 6371e3 rotationx -0.50 orbitaround sol 149.598023e9 actor 0 0 0 orbitring @@ -52,7 +52,7 @@ actor 0 0 0 planet yes sphere yes physics off - scale 1e9 + scale 3389.5e3 rotationx -0.50 orbitaround sol 227.939366e9 actor 0 0 0 orbitring @@ -212,7 +212,7 @@ actor 0 0 0 planet yes sphere yes physics off - scale 1e9 + scale 58232e3 rotationx -0.50 orbitaround sol 1433.53e9 actor 0 0 0 orbitring @@ -226,7 +226,7 @@ actor 0 0 0 planet yes sphere yes physics off - scale 1e9 + scale 25362e3 rotationx -0.50 orbitaround sol 2870.972e9 actor 0 0 0 orbitring @@ -240,7 +240,7 @@ actor 0 0 0 planet yes sphere yes physics off - scale 1e9 + scale 24622e3 rotationx -0.50 orbitaround sol 4500e9 actor 0 0 0 orbitring