summaryrefslogtreecommitdiffstats
path: root/src/tacmap/render.rs
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-04-15 22:22:45 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-04-15 22:22:45 -0400
commit3dc92fad981e28c760f3c6e95f5a8153ea6c9be4 (patch)
tree9e806c4ad09cf22957bc4dccd415718045fc4b0f /src/tacmap/render.rs
parentb5ced3af46c96ceb959fbbf1addfeba3bd4f76d5 (diff)
downloadsystemic4x-3dc92fad981e28c760f3c6e95f5a8153ea6c9be4.tar.gz
systemic4x-3dc92fad981e28c760f3c6e95f5a8153ea6c9be4.tar.bz2
systemic4x-3dc92fad981e28c760f3c6e95f5a8153ea6c9be4.zip
work on orbits (not right yet), orbit camera
Diffstat (limited to 'src/tacmap/render.rs')
-rw-r--r--src/tacmap/render.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/tacmap/render.rs b/src/tacmap/render.rs
index c22878e..0f6b409 100644
--- a/src/tacmap/render.rs
+++ b/src/tacmap/render.rs
@@ -142,12 +142,7 @@ impl BodyRenderer
let bodies = solar_system.bodies();
let body_instances = bodies.iter().map(|body| {
- let position = match body.position(time) {
- Some(pos) => pos,
- None => return BodyInstanceRaw {
- position: [0.0, 0.0, 0.0],
- radius: body.radius() }
- };
+ let position = body.position();
BodyInstance {
position: position,
radius: body.radius()