aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 2 insertions, 3 deletions
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);