cargo fix --edition and add edition="2018" to Cargo.toml.
This commit is contained in:
@@ -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>),
|
||||
|
||||
Reference in New Issue
Block a user