summaryrefslogtreecommitdiff
path: root/src/renderer.rs
diff options
context:
space:
mode:
authorRosyid Haryadi <rosyid_haryadi@protonmail.com>2025-03-01 18:41:07 +0700
committerRosyid Haryadi <rosyid_haryadi@protonmail.com>2025-03-01 18:41:07 +0700
commit5e61a588a59008705846326956ff0b1f8ee43b16 (patch)
tree7436a2140247465c9559853c99ce43e030a05b81 /src/renderer.rs
parent084875ac8e9aa12cf6cc1892def9e4bc5fd4cdda (diff)
fix normal
Diffstat (limited to 'src/renderer.rs')
-rw-r--r--src/renderer.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/renderer.rs b/src/renderer.rs
index 2fb76d2..4936d9e 100644
--- a/src/renderer.rs
+++ b/src/renderer.rs
@@ -43,9 +43,9 @@ pub fn render(display_buffer: &mut DisplayBuffer) {
Sphere::new(Point3::new(0.0, 0.0, -1.0), 0.5)
);
- // world.push(
- // Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0)
- // );
+ world.push(
+ Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0)
+ );
(0..IMG_HEIGHT).for_each(|j| {