Skip to content

Commit

Permalink
Removed use of some deprecated functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitshifter committed Oct 9, 2019
1 parent 4cb4ffe commit d32ac49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benches/support/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d32ac49

Please sign in to comment.