diff --git a/Cargo.toml b/Cargo.toml index 123464d..77aa549 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,8 +21,7 @@ bevy = { version = "0.13", default-features = false, features = [ "bevy_core_pipeline", ] } bitfield = "0.14" -interpolation = "0.2" -interpolation_03 = { package = "interpolation", version = "0.3", optional = true } +interpolation = "0.3" thiserror = "1.0" wgpu-types = "0.19" diff --git a/README.md b/README.md index 91751b4..7b21125 100644 --- a/README.md +++ b/README.md @@ -79,9 +79,6 @@ cargo run --example morph_targets - `bevy_ui` _(default)_ - Adds a render graph edge to prevent clashing with the UI. This adds a dependency on the `bevy_ui` crate and can be disabled if it is not used. -- `interpolation_03` - Define `Lerp` trait impls using version 0.3 of the -`interpolation` crate in addition to 0.2. This will become the default in the -next breaking release. ## Licence diff --git a/src/lib.rs b/src/lib.rs index 13f4490..a5d6586 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -118,15 +118,6 @@ impl Lerp for OutlineStencil { } } -#[cfg(feature = "interpolation_03")] -impl interpolation_03::Lerp for OutlineStencil { - type Scalar = f32; - - fn lerp(&self, other: &Self, scalar: &Self::Scalar) -> Self { - ::lerp(self, other, scalar) - } -} - /// A component for rendering outlines around meshes. #[derive(Clone, Component, Default)] pub struct OutlineVolume { @@ -156,15 +147,6 @@ impl Lerp for OutlineVolume { } } -#[cfg(feature = "interpolation_03")] -impl interpolation_03::Lerp for OutlineVolume { - type Scalar = f32; - - fn lerp(&self, other: &Self, scalar: &Self::Scalar) -> Self { - ::lerp(self, other, scalar) - } -} - /// A component for specifying what layer(s) the outline should be rendered for. #[derive(Component, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Deref, DerefMut, Default)] pub struct OutlineRenderLayers(pub RenderLayers);