Updated euclid to version 0.6.5

And updated existing usages of Matrix4 to use Matrix4D<T>
This commit is contained in:
Peter 2016-04-17 18:10:26 +01:00
parent b00c2740e3
commit b0ad3ddf5b
12 changed files with 149 additions and 149 deletions

View file

@ -23,7 +23,7 @@ mod paint_listener;
pub use paint_listener::PaintListener;
use azure::azure_hl::Color;
use euclid::matrix::Matrix4;
use euclid::Matrix4D;
use euclid::rect::Rect;
use msg::constellation_msg::{Failure, PipelineId};
use std::fmt::{self, Debug, Formatter};
@ -132,9 +132,9 @@ pub struct LayerProperties {
/// The scrolling policy of this layer.
pub scroll_policy: ScrollPolicy,
/// The transform for this layer
pub transform: Matrix4,
pub transform: Matrix4D<f32>,
/// The perspective transform for this layer
pub perspective: Matrix4,
pub perspective: Matrix4D<f32>,
/// The subpage that this layer represents. If this is `Some`, this layer represents an
/// iframe.
pub subpage_pipeline_id: Option<PipelineId>,