diff options
Diffstat (limited to 'src/tacmap/orbit_render.rs')
| -rw-r--r-- | src/tacmap/orbit_render.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tacmap/orbit_render.rs b/src/tacmap/orbit_render.rs index d79294e..a6a90d1 100644 --- a/src/tacmap/orbit_render.rs +++ b/src/tacmap/orbit_render.rs @@ -135,7 +135,7 @@ impl OrbitRenderer OrbitVertex::default();(num_points+1)*2]; for i in 0..num_points { let position = body.calculate_orbit_at( - (i as f64 * period_interval) as u64); + (i as f64 * period_interval) as Second); points[i*2].origin_id = body.get_orbits().unwrap() as _; points[i*2].position = [ |
