refactor: rename types.rs to util.rs
This commit is contained in:
parent
763a4ff923
commit
f33ee09b9d
10 changed files with 32 additions and 27 deletions
|
|
@ -3,11 +3,8 @@ extern crate nalgebra as na;
|
|||
use std::cmp::Ordering;
|
||||
use std::f64::consts::PI;
|
||||
|
||||
use na::geometry::Point3;
|
||||
use na::*;
|
||||
|
||||
use crate::object::*;
|
||||
use crate::types::*;
|
||||
use crate::util::*;
|
||||
|
||||
fn trace(ray: Ray, objects: &Vec<Object>) -> Option<(&Object, f64)> {
|
||||
objects
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue