From f704384b9938215f818c1c2006ad9b233c0d7c00 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 27 Oct 2021 12:09:49 +0300 Subject: feat: increase screen size --- src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index d5c8278..ae1fafb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,15 +11,14 @@ fn main() { direction: Vector3 { x: 1.0, y: 0.0, z: 0.0 }, angle: PI / 2.0, distance: 1.0, - aspect_ratio: 1.0, + aspect_ratio: 2.0 / 3.0, brightness: 5.0, - buffer: Buffer([['.'; 120]; 60]), + buffer: Buffer([['.'; 180]; 60]), time: 0.0, }; for _round in 0..20 { for i in 0..60 { - // 1 sin round cam.time = (i as f32 / 60.0) * 2.0 * PI; cam.render(); println!("{}", cam.buffer); -- cgit v1.2.3