summaryrefslogtreecommitdiffstats
path: root/src/tacmap/render.rs
diff options
context:
space:
mode:
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()