diff --git a/src/main.rs b/src/main.rs index 63ca855..59e7bc6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -644,6 +644,10 @@ impl TimeStep { } } +unsafe fn draw_world (world: &WorldState) { + +} + fn main () { let sdl_context = sdl2::init ().unwrap (); let video_subsystem = sdl_context.video ().unwrap (); @@ -773,10 +777,8 @@ fn main () { window.gl_make_current (&gl_ctx).unwrap (); - //let longitude = (frame as f32).to_radians (); let longitude = state.azimuth.to_radians (); let latitude = (state.altitude - 90.0).to_radians (); - //let latitude = (frame as f32 / 5.0).to_radians ().sin () * -40.0f32.to_radians () - 75.0f32.to_radians (); let proj_mat = Mat4::perspective_rh_gl (30.0f32.to_radians (), 1280.0 / 720.0, 0.5, 500.0);