Move algebra_utils.rs into util module
This commit is contained in:
parent
49bef6f0f4
commit
23e8a878c5
|
|
@ -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>;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
pub mod algebra_utils;
|
||||
pub mod camera;
|
||||
pub mod colour;
|
||||
pub mod image;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
mod interval;
|
||||
pub use interval::Interval;
|
||||
|
||||
pub mod algebra_utils;
|
||||
pub mod axis_aligned_bounding_box;
|
||||
pub mod normalizer;
|
||||
|
|
|
|||
Loading…
Reference in New Issue