From d32ac49350aa26aca31737175eeff0c1c7755031 Mon Sep 17 00:00:00 2001 From: Cameron Hart Date: Tue, 8 Oct 2019 22:23:37 +1100 Subject: [PATCH] Removed use of some deprecated functions. --- benches/support/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benches/support/mod.rs b/benches/support/mod.rs index 821a3a84..4ad3b176 100644 --- a/benches/support/mod.rs +++ b/benches/support/mod.rs @@ -76,11 +76,11 @@ pub fn random_quat(rng: &mut PCG32) -> Quat { } pub fn random_mat2(rng: &mut PCG32) -> Mat2 { - Mat2::new(random_vec2(rng), random_vec2(rng)) + Mat2::from_cols(random_vec2(rng), random_vec2(rng)) } pub fn random_mat3(rng: &mut PCG32) -> Mat3 { - Mat3::new(random_vec3(rng), random_vec3(rng), random_vec3(rng)) + Mat3::from_cols(random_vec3(rng), random_vec3(rng), random_vec3(rng)) } pub fn random_srt_mat4(rng: &mut PCG32) -> Mat4 {