fixed warnings

This commit is contained in:
Jon Janzen
2022-01-05 08:45:30 -07:00
parent be9abb56d9
commit 6e5af62c02

View File

@@ -1,7 +1,5 @@
use std::f32::consts::PI;
use crate::matrix::Matrix;
use crate::num_traits_cast;
use crate::structs::Tuple;
use num_traits::NumCast;
@@ -80,6 +78,8 @@ impl Matrix {
#[cfg(test)]
mod tests {
use super::*;
use crate::structs::Tuple;
use std::f32::consts::PI;
#[test]
fn multiply_by_a_translations_matrix() {