bevy/crates/bevy_math
Tristan Guichaoua 37915e1d93
Add glam swizzles traits to prelude (#9387)
# Objective

Add possibility to use the glam's swizzles traits without having to
manually import them.

```diff
use bevy::prelude::*;
- use bevy::math::Vec3Swizzles;

fn foo(x: Vec3) {
    let y: Vec2 = x.xy();
}
```

## Solution

Add the swizzles traits to bevy's prelude.

---

## Changelog

- `Vec2Swizzles`, `Vec3Swizzles` and `Vec4Swizzles` are now part of the
prelude.
2023-08-10 17:05:01 +00:00
..
src Add glam swizzles traits to prelude (#9387) 2023-08-10 17:05:01 +00:00
Cargo.toml Bump Version after Release (#9106) 2023-07-10 21:19:27 +00:00