cargo fix --edition and add edition="2018" to Cargo.toml.

This commit is contained in:
2019-02-07 16:36:55 -08:00
parent 1be9c800a7
commit c8f5bf9e19
36 changed files with 265 additions and 263 deletions

View File

@@ -1,10 +1,10 @@
use std::fmt;
use aabb::surrounding_box;
use aabb::AABB;
use hitable::Hit;
use hitable::HitRecord;
use ray::Ray;
use crate::aabb::surrounding_box;
use crate::aabb::AABB;
use crate::hitable::Hit;
use crate::hitable::HitRecord;
use crate::ray::Ray;
pub enum KDTree {
Leaf(Box<Hit>),