Skip to content

Commit 3eacd70

Browse files
committed
Macro hygiene
1 parent 4d3be5f commit 3eacd70

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

crates/bevy_motiongfx/src/interpolation.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use bevy_math::*;
2-
use motiongfx::prelude::Interpolation;
2+
use motiongfx::prelude::*;
33

44
pub struct Bevy;
55

@@ -8,7 +8,7 @@ pub struct Bevy;
88
macro_rules! impl_float_interpolation {
99
($ty:ty, $base:ty) => {
1010
impl
11-
motiongfx::prelude::Interpolation<
11+
::motiongfx::interpolation::Interpolation<
1212
$crate::interpolation::Bevy,
1313
> for $ty
1414
{
@@ -24,7 +24,7 @@ macro_rules! impl_float_interpolation {
2424
macro_rules! impl_slerp_interpolation {
2525
($ty: ty, $base: ty) => {
2626
impl
27-
motiongfx::prelude::Interpolation<
27+
::motiongfx::interpolation::Interpolation<
2828
$crate::interpolation::Bevy,
2929
> for $ty
3030
{
@@ -98,7 +98,6 @@ pub mod color {
9898
#[cfg(feature = "transform")]
9999
pub mod transform {
100100
use bevy_transform::components::Transform;
101-
use motiongfx::prelude::Interpolation;
102101

103102
use super::*;
104103

0 commit comments

Comments
 (0)