property: remove euclid impls

This commit is contained in:
Carter Anderson 2020-06-27 21:59:09 -07:00
parent 941e441f32
commit 0c9c0a9b3b
3 changed files with 1 additions and 27 deletions

View file

@ -11,5 +11,4 @@ bevy_property_derive = { path = "bevy_property_derive" }
ron = { git = "https://github.com/ron-rs/ron", rev = "35355ba7eb495f07282162826c29873154c2fa14" }
glam = { version = "0.8.7", features = ["serde"] }
legion = { path = "../bevy_legion" }
smallvec = { version = "1.4", features = ["serde"] }
euclid = { git = "https://github.com/servo/euclid", rev = "1a8b95d46fa33978f7a6dcbb7a4c0f2a0550a1c9", features = ["serde"]}
smallvec = { version = "1.4", features = ["serde"] }

View file

@ -1,24 +0,0 @@
use crate::impl_property;
use euclid::*;
use serde::{Deserialize, Serialize};
impl_property!(Length<T, Src> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Point2D<T, Src> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Point3D<T, Src> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Vector2D<T, Src> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Vector3D<T, Src> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(HomogeneousVector<T, Src> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Size2D<T, Src> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Size3D<T, Src> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Rect<T, Src> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Box2D<T, Src> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Box3D<T, Src> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(SideOffsets2D<T, Src> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Transform2D<T, Src, Dst> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Transform3D<T, Src, Dst> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Rotation2D<T, Src, Dst> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Rotation3D<T, Src, Dst> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Translation2D<T, Src, Dst> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Translation3D<T, Src, Dst> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(Scale<T, Src, Dst> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);
impl_property!(RigidTransform3D<T, Src, Dst> where Self: Send + Sync + Clone + Serialize + for<'de> Deserialize<'de> +'static);

View file

@ -1,4 +1,3 @@
mod impl_property_euclid;
mod impl_property_glam;
mod impl_property_legion;
mod impl_property_smallvec;