Update euclid to 0.18

This commit is contained in:
Bastien Orivel 2018-07-18 09:27:07 +02:00
parent 88664912ed
commit 9e446971a8
27 changed files with 78 additions and 82 deletions

View file

@ -436,7 +436,6 @@ where
Perspective(ref d) => {
let m = create_perspective_matrix(d.to_pixel_length(None)?);
m.cast()
.expect("Casting from f32 to f64 should be successful")
},
Scale3D(sx, sy, sz) => Transform3D::create_scale(sx.into(), sy.into(), sz.into()),
Scale(sx, sy) => Transform3D::create_scale(sx.into(), sy.unwrap_or(sx).into(), 1.),