aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2021-10-26 00:46:41 +0300
committereug-vs <eugene@eug-vs.xyz>2021-10-26 00:46:41 +0300
commitbd2150c70e5cbfc06cedfc6ec7e765d31c4ed506 (patch)
tree274e8e1e080d2caa34e244c90b80f214f7ee6bb0 /src/main.rs
parent430ebecd2c3fe35393a3eb7861bdcff84525e9eb (diff)
downloadpistol-bd2150c70e5cbfc06cedfc6ec7e765d31c4ed506.tar.gz
feat: implement lighting
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 7b63c04..5e25562 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -20,8 +20,6 @@ fn main() {
buffer: Buffer([['.'; 100]; 50])
};
- for _i in 0..60 {
- cam.render();
- println!("{}", cam.buffer);
- }
+ cam.render();
+ println!("{}", cam.buffer);
}