mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Update euclid to 0.18
This commit is contained in:
parent
88664912ed
commit
9e446971a8
27 changed files with 78 additions and 82 deletions
|
@ -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.),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue