forked from M-Labs/nalgebra
Support conversion for glam 0.27 (#1390)
This commit is contained in:
parent
6b7305337f
commit
f8cb672280
@ -4,6 +4,12 @@ documented here.
|
|||||||
|
|
||||||
This project adheres to [Semantic Versioning](https://semver.org/).
|
This project adheres to [Semantic Versioning](https://semver.org/).
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Add the `convert-glam027` feature to enable conversion from/to types from `glam` v0.27.
|
||||||
|
|
||||||
## [0.32.5] (28 March 2024)
|
## [0.32.5] (28 March 2024)
|
||||||
|
|
||||||
## Fixed
|
## Fixed
|
||||||
|
@ -50,6 +50,7 @@ convert-glam022 = [ "glam022" ]
|
|||||||
convert-glam023 = [ "glam023" ]
|
convert-glam023 = [ "glam023" ]
|
||||||
convert-glam024 = [ "glam024" ]
|
convert-glam024 = [ "glam024" ]
|
||||||
convert-glam025 = [ "glam025" ]
|
convert-glam025 = [ "glam025" ]
|
||||||
|
convert-glam027 = [ "glam027" ]
|
||||||
|
|
||||||
# Serialization
|
# Serialization
|
||||||
## To use serde in a #[no-std] environment, enable the
|
## To use serde in a #[no-std] environment, enable the
|
||||||
@ -106,6 +107,7 @@ glam022 = { package = "glam", version = "0.22", optional = true }
|
|||||||
glam023 = { package = "glam", version = "0.23", optional = true }
|
glam023 = { package = "glam", version = "0.23", optional = true }
|
||||||
glam024 = { package = "glam", version = "0.24", optional = true }
|
glam024 = { package = "glam", version = "0.24", optional = true }
|
||||||
glam025 = { package = "glam", version = "0.25", optional = true }
|
glam025 = { package = "glam", version = "0.25", optional = true }
|
||||||
|
glam027 = { package = "glam", version = "0.27", optional = true }
|
||||||
cust_core = { version = "0.1", optional = true }
|
cust_core = { version = "0.1", optional = true }
|
||||||
rayon = { version = "1.6", optional = true }
|
rayon = { version = "1.6", optional = true }
|
||||||
|
|
||||||
|
2
src/third_party/glam/mod.rs
vendored
2
src/third_party/glam/mod.rs
vendored
@ -22,3 +22,5 @@ mod v023;
|
|||||||
mod v024;
|
mod v024;
|
||||||
#[cfg(feature = "glam025")]
|
#[cfg(feature = "glam025")]
|
||||||
mod v025;
|
mod v025;
|
||||||
|
#[cfg(feature = "glam027")]
|
||||||
|
mod v027;
|
||||||
|
18
src/third_party/glam/v027/mod.rs
vendored
Normal file
18
src/third_party/glam/v027/mod.rs
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#[path = "../common/glam_isometry.rs"]
|
||||||
|
mod glam_isometry;
|
||||||
|
#[path = "../common/glam_matrix.rs"]
|
||||||
|
mod glam_matrix;
|
||||||
|
#[path = "../common/glam_point.rs"]
|
||||||
|
mod glam_point;
|
||||||
|
#[path = "../common/glam_quaternion.rs"]
|
||||||
|
mod glam_quaternion;
|
||||||
|
#[path = "../common/glam_rotation.rs"]
|
||||||
|
mod glam_rotation;
|
||||||
|
#[path = "../common/glam_similarity.rs"]
|
||||||
|
mod glam_similarity;
|
||||||
|
#[path = "../common/glam_translation.rs"]
|
||||||
|
mod glam_translation;
|
||||||
|
#[path = "../common/glam_unit_complex.rs"]
|
||||||
|
mod glam_unit_complex;
|
||||||
|
|
||||||
|
pub(self) use glam027 as glam;
|
Loading…
Reference in New Issue
Block a user