From 9276088b4b8a580d4191f2d8b37e90a750efe245 Mon Sep 17 00:00:00 2001 From: STP Date: Sun, 3 Dec 2023 22:13:26 -0500 Subject: [PATCH] fix --- src/main.rs | 2 +- src/node.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4590869..3b8cc8a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,7 +6,7 @@ use error_iter::ErrorIter; const EPSILON: f64 = 1e-8; const INFINITY: f64 = 1e10; -use gui::{init_engine, Gui}; +use gui::{init_engine}; use log::error; use nalgebra::Vector3; use rand::random; diff --git a/src/node.rs b/src/node.rs index 8e28a4b..60d420e 100644 --- a/src/node.rs +++ b/src/node.rs @@ -1,7 +1,7 @@ use crate::{ bvh::AABB, material::Material, - primitive::{self, *}, + primitive::{*}, ray::{Intersection, Ray}, }; use nalgebra::{Matrix4, Vector3};