aboutsummaryrefslogtreecommitdiff
path: root/src/world/shapes/sphere.rs
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-08-05 15:42:43 +0200
committerJulian T <julian@jtle.dk>2021-08-05 15:42:43 +0200
commitc5505ab84820248c6dba35fc06aef9e0ced183de (patch)
treebb1d508c31c6a5aa5d57aed86daaeb6f9cffc88e /src/world/shapes/sphere.rs
parent02fedfc9653cb37219849de7dae14ae13d2f6c36 (diff)
Add XY rectangle
Diffstat (limited to 'src/world/shapes/sphere.rs')
-rw-r--r--src/world/shapes/sphere.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/world/shapes/sphere.rs b/src/world/shapes/sphere.rs
index 36c9d13..5f32c7f 100644
--- a/src/world/shapes/sphere.rs
+++ b/src/world/shapes/sphere.rs
@@ -97,7 +97,6 @@ mod tests {
};
let dist = sph.intersect(&ray).unwrap();
- println!("Yay {}", dist.t);
assert!((dist.t - 1.732).abs() < 0.01);
}
}