half-baked idea
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
use core::f32;
|
||||
use std::io::stdin;
|
||||
|
||||
use macroquad::prelude::*;
|
||||
|
||||
@@ -46,6 +47,7 @@ impl DebugWindow {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#[macroquad::main("Graph")]
|
||||
async fn main() {
|
||||
// Dot params
|
||||
@@ -61,9 +63,13 @@ async fn main() {
|
||||
let mut show_debug = false;
|
||||
let mut px_per_s: f32 = 100.;
|
||||
|
||||
|
||||
let stdin = stdin();
|
||||
let handle= stdin.lock();
|
||||
loop {
|
||||
clear_background(BLACK);
|
||||
|
||||
// handle.
|
||||
let delta_time = get_frame_time();
|
||||
|
||||
if x_offset >= screen_width() {
|
||||
|
||||
Reference in New Issue
Block a user