From 75ff6bb5b8ed6020b56042c9bba3a9fcf6510c72 Mon Sep 17 00:00:00 2001 From: Scott Windsor Date: Sun, 4 May 2025 16:55:55 -0400 Subject: [PATCH] Removed debugging stuff --- src/main.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index e59fcb0..b18dbd8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,7 +5,6 @@ use gemini_engine::{ gameloop, primitives::Line, view::{View, WrappingMode}, - ascii::Sprite }; const FPS: f32 = 4.0; @@ -43,7 +42,6 @@ fn main() { let mut second_hand = Line::new(center,end, second_hand_char); let mut minute_hand = Line::new(center,end, minute_hand_char); let mut hour_hand = Line::new(center,end, hour_hand_char); - let mut second_disp = Sprite::new(Vec2D::ZERO,"00",Modifier::None); loop { view.clear(); @@ -53,18 +51,15 @@ fn main() { let minute = now.minute() as f64; let hour = now.hour() as f64; - let second_text = second.to_string(); second_theta= (second * PI/30.0) - PI/2.0; minute_theta= (minute * PI/30.0) - PI/2.0; hour_theta= ((hour + minute/60.0) * PI/6.0) - PI/2.0; second_hand.pos1 = radius(center,r,second_theta); - second_disp.texture=second_text; minute_hand.pos1 = radius(center,r,minute_theta); hour_hand.pos1= radius(center, r * hour_hand_ratio, hour_theta); view.draw(&second_hand); - view.draw(&second_disp); view.draw(&minute_hand); view.draw(&hour_hand);