Move algebra_utils.rs into util module

This commit is contained in:
Matthew Gordon 2020-02-07 17:04:42 -05:00
parent 49bef6f0f4
commit 23e8a878c5
4 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
use nalgebra::{convert, RealField, Vector3};
use super::algebra_utils::try_change_of_basis_matrix;
use super::colour::ColourRgbF;
use super::raycasting::{IntersectionInfo, Ray};
use super::sampler::Sampler;
use super::util::algebra_utils::try_change_of_basis_matrix;
pub trait Integrator<T: RealField> {
fn integrate(&self, sampler: &Sampler<T>, info: &IntersectionInfo<T>) -> ColourRgbF<T>;

View File

@ -1,4 +1,3 @@
pub mod algebra_utils;
pub mod camera;
pub mod colour;
pub mod image;

View File

@ -1,5 +1,6 @@
mod interval;
pub use interval::Interval;
pub mod algebra_utils;
pub mod axis_aligned_bounding_box;
pub mod normalizer;