summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorRosyid Haryadi <rosyid_haryadi@protonmail.com>2025-03-02 17:16:52 +0700
committerRosyid Haryadi <rosyid_haryadi@protonmail.com>2025-03-02 17:16:52 +0700
commit5c1dc80be89fe8864275e45feda2fb65e2b575da (patch)
treec1ec1e633cdc12a70898c8cec37bb465d1e59c25 /src/main.rs
parent93b24b9d01f806cf69ecee86fada9e5b9bf06182 (diff)
fix recursion
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 7c6c8f1..489ef41 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -22,7 +22,7 @@ fn main() {
);
world.push(
- Sphere::new(Point3::new(0.0, 0.0, -1.0), 0.5, MaterialType::Diffuse, Color::new(0.4, 0.4, 0.4))
+ Sphere::new(Point3::new(0.0, 0.0, -1.0), 0.5, MaterialType::Diffuse, Color::new(0.7, 0.7, 0.7))
);
world.push(