From 860f3946461c8bff7b04f161fc8444b9c92deb10 Mon Sep 17 00:00:00 2001 From: Jakob Hellermann Date: Mon, 4 Jul 2022 15:27:18 +0200 Subject: [PATCH] bevy_reflect remove glam from test --- crates/bevy_reflect/src/lib.rs | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/crates/bevy_reflect/src/lib.rs b/crates/bevy_reflect/src/lib.rs index 927aafe4cc834..2e2676e15041e 100644 --- a/crates/bevy_reflect/src/lib.rs +++ b/crates/bevy_reflect/src/lib.rs @@ -490,7 +490,6 @@ mod tests { #[derive(Reflect, Clone, Debug, PartialEq)] struct Bar { y: u8, - z: ::glam::Mat4, } #[derive(Reflect, Clone, Debug, PartialEq)] @@ -499,21 +498,15 @@ mod tests { s: String, b: Bar, u: usize, - t: (Vec3, String), + t: ([f32; 3], String), } let foo = Foo { x: 123, s: "String".to_string(), - b: Bar { - y: 255, - z: ::glam::Mat4::from_cols_array(&[ - 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, - 15.0, - ]), - }, + b: Bar { y: 255 }, u: 1111111111111, - t: (Vec3::new(3.0, 2.0, 1.0), "Tuple String".to_string()), + t: ([3.0, 2.0, 1.0], "Tuple String".to_string()), }; let foo2: Box = Box::new(foo.clone());