fixed warnings
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
use std::f32::consts::PI;
|
|
||||||
use crate::matrix::Matrix;
|
use crate::matrix::Matrix;
|
||||||
use crate::num_traits_cast;
|
use crate::num_traits_cast;
|
||||||
use crate::structs::Tuple;
|
|
||||||
|
|
||||||
use num_traits::NumCast;
|
use num_traits::NumCast;
|
||||||
|
|
||||||
@@ -80,6 +78,8 @@ impl Matrix {
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
use crate::structs::Tuple;
|
||||||
|
use std::f32::consts::PI;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn multiply_by_a_translations_matrix() {
|
fn multiply_by_a_translations_matrix() {
|
||||||
|
|||||||
Reference in New Issue
Block a user