Expose mint feature in bevy_math/glam (#5857)

# Objective

- Expose `mint` feature of `glam` in `bevy_math`.
- Unblocks harudagondi/bevy_oddio#22
	- [`oddio::SpatialOptions`] uses mint types

[`oddio::SpatialOptions`]: https://docs.rs/oddio/latest/oddio/struct.SpatialOptions.html

## Solution

- Added features in `bevy_math`, ~`bevy_internal`, `bevy`~
- ~Updated `docs/cargo_features.md`~

---

## Changelog

### Added

- `mint` feature in `bevy_math` to allow interoperation of glam types with mint-compatible libraries.
This commit is contained in:
harudagondi 2022-09-03 03:02:04 +00:00
parent dfeb63e7b8
commit 0c98a2f0ca

View file

@ -11,3 +11,7 @@ keywords = ["bevy"]
[dependencies]
glam = { version = "0.21", features = ["serde", "bytemuck"] }
serde = "1"
[features]
# Enable interoperation of glam types with mint-compatible libraries
mint = ["glam/mint"]