mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
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:
parent
dfeb63e7b8
commit
0c98a2f0ca
1 changed files with 4 additions and 0 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue