#![allow(bad_style)] #![allow(clippy::float_cmp)] use hektor::*; #[test] fn Vec3_cross() { let a = Vec3::new(2.0, 3.0, 4.0); let b = Vec3::new(5.0, 6.0, 7.0); assert_eq!(a.cross(b), Vec3::new(-3.0, 6.0, -3.0)); }