Skip to content

Commit

Permalink
Fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Olle-Lukowski committed May 26, 2024
1 parent b27640b commit d932088
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/bevy_math/src/cubic_splines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ use crate::{Vec2, VectorSpace};

use thiserror::Error;

#[cfg(feature = "reflect")]
use bevy_reflect::prelude::*;

/// A spline composed of a single cubic Bezier curve.
///
/// Useful for user-drawn curves with local control, or animation easing. See
Expand Down
3 changes: 3 additions & 0 deletions crates/bevy_math/src/rects/irect.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
use crate::{IVec2, Rect, URect};

#[cfg(feature = "reflect")]
use bevy_reflect::prelude::*;

/// A rectangle defined by two opposite corners.
///
/// The rectangle is axis aligned, and defined by its minimum and maximum coordinates,
Expand Down
3 changes: 3 additions & 0 deletions crates/bevy_math/src/rects/rect.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
use crate::{IRect, URect, Vec2};

#[cfg(feature = "reflect")]
use bevy_reflect::prelude::*;

/// A rectangle defined by two opposite corners.
///
/// The rectangle is axis aligned, and defined by its minimum and maximum coordinates,
Expand Down
3 changes: 3 additions & 0 deletions crates/bevy_math/src/rects/urect.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
use crate::{IRect, Rect, UVec2};

#[cfg(feature = "reflect")]
use bevy_reflect::prelude::*;

/// A rectangle defined by two opposite corners.
///
/// The rectangle is axis aligned, and defined by its minimum and maximum coordinates,
Expand Down

0 comments on commit d932088

Please sign in to comment.