Redefine Scene struct

This commit is contained in:
bijan2005 2020-12-10 09:23:45 -05:00
parent b53ea71eb0
commit 53f5c8bac5
3 changed files with 18 additions and 12 deletions

View file

@ -205,7 +205,6 @@ impl Surface for TriangleMesh {
}
fn smallest_sphere(points: Vec<&Point3<f32>>, boundary: Vec<&Point3<f32>>) -> (Point3<f32>, f32) {
println!("{:?}\n{:?}\n", points, boundary);
if points.len() == 0 || boundary.len() == 4 {
match boundary.len() {
0 => (Point3::new(0.0, 0.0, 0.0), 0.0),