mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update euclid.
There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
This commit is contained in:
parent
2ff7cb5a37
commit
3d57c22e9c
133 changed files with 686 additions and 596 deletions
|
@ -20,7 +20,7 @@ use crate::dom::globalscope::GlobalScope;
|
|||
use crate::dom::promise::Promise;
|
||||
use crate::task_source::TaskSource;
|
||||
use dom_struct::dom_struct;
|
||||
use euclid::TypedRigidTransform3D;
|
||||
use euclid::RigidTransform3D;
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
use ipc_channel::router::ROUTER;
|
||||
use profile_traits::ipc;
|
||||
|
@ -103,7 +103,7 @@ impl XRTestMethods for XRTest {
|
|||
},
|
||||
}
|
||||
} else {
|
||||
TypedRigidTransform3D::identity()
|
||||
RigidTransform3D::identity()
|
||||
};
|
||||
|
||||
let floor_origin = if let Some(ref o) = init.floorOrigin {
|
||||
|
@ -115,7 +115,7 @@ impl XRTestMethods for XRTest {
|
|||
},
|
||||
}
|
||||
} else {
|
||||
TypedRigidTransform3D::identity()
|
||||
RigidTransform3D::identity()
|
||||
};
|
||||
|
||||
let views = match get_views(&init.views) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue