bevy/crates/bevy_transform/src
Joona Aalto 9bd6cc0a5e
Add Direction3dA and move direction types out of primitives (#12018)
# Objective

Split up from #12017, add an aligned version of `Direction3d` for SIMD,
and move direction types out of `primitives`.

## Solution

Add `Direction3dA` and move direction types into a new `direction`
module.

---

## Migration Guide

The `Direction2d`, `Direction3d`, and `InvalidDirectionError` types have
been moved out of `bevy::math::primitives`.

Before:

```rust
use bevy::math::primitives::Direction3d;
```

After:

```rust
use bevy::math::Direction3d;
```

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-02-26 13:57:49 +00:00
..
components Add Direction3dA and move direction types out of primitives (#12018) 2024-02-26 13:57:49 +00:00
commands.rs refactor: Simplify lifetimes for Commands and related types (#11445) 2024-01-22 15:35:42 +00:00
helper.rs Derive Error for more error types (#10240) 2023-10-28 22:20:37 +00:00
lib.rs Inverse missing_docs logic (#11676) 2024-02-03 21:40:55 +00:00
systems.rs Global TaskPool API improvements (#10008) 2023-10-23 20:48:48 +00:00