bevy/crates/bevy_math/src
Chanceler Shaffer cb628516d1
Add core Error to InvalidDirectionError (#17820)
# Objective

Fixes #17761 

## Solution
- Added core error to InvalidDirectionError

## Testing

- Did you test these changes? If so, how?
- An added test that pulls in anyhow as a dev dependency to ensure the
conversion is accounted for in creation via From
- Are there any parts that need more testing?
  - I'm unsure but probably not due to being a trivial change 
- How can other people (reviewers) test your changes? Is there anything
specific they need to know?
- I did not try a fully built version of Bevy. Relied purely on tests.
- If relevant, what platforms did you test these changes on, and are
there any important ones you can't test?
  - Only windows

---------

Co-authored-by: Chanceler Shaffer <cshaffer2@lululemon.com>
Co-authored-by: Chanceler Shaffer <chancelershaffer@lululemon.com>
2025-02-24 21:04:22 +00:00
..
bounding Reworked Segment types into their cartesian forms (#17404) 2025-01-19 03:54:45 +00:00
cubic_splines Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
curve Add ways to configure EasingFunction::Steps via new StepConfig (#17752) 2025-02-11 22:19:01 +00:00
primitives Reworked Segment types into their cartesian forms (#17404) 2025-01-19 03:54:45 +00:00
rects Add no_std Support to bevy_math (#15810) 2024-12-03 17:14:51 +00:00
sampling Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
affine3.rs
aspect_ratio.rs Deny derive_more error feature and replace it with thiserror (#16684) 2024-12-06 17:03:55 +00:00
common_traits.rs Use variadics_please to implement StableInterpolate on tuples. (#16931) 2024-12-24 02:53:43 +00:00
compass.rs Add basic directional (gamepad) navigation for UI (and non-UI) (#17102) 2025-01-06 18:51:44 +00:00
direction.rs Add core Error to InvalidDirectionError (#17820) 2025-02-24 21:04:22 +00:00
float_ord.rs bevy_math: Apply #[deny(clippy::allow_attributes, clippy::allow_attributes_without_reason)] (#17091) 2025-01-02 18:47:36 +00:00
isometry.rs make bevy math publishable (#17727) 2025-02-10 22:15:53 +00:00
lib.rs Move #![warn(clippy::allow_attributes, clippy::allow_attributes_without_reason)] to the workspace Cargo.toml (#17374) 2025-01-15 01:14:58 +00:00
ops.rs bevy_math: Apply #[deny(clippy::allow_attributes, clippy::allow_attributes_without_reason)] (#17091) 2025-01-02 18:47:36 +00:00
ray.rs Add no_std Support to bevy_math (#15810) 2024-12-03 17:14:51 +00:00
rotation2d.rs make bevy math publishable (#17727) 2025-02-10 22:15:53 +00:00