zmitchell / splatter

A Rust framework for creating generative art
0 stars 0 forks source link

fix(deps): update rust crate glam to 0.24 #26

Closed renovate[bot] closed 11 months ago

renovate[bot] commented 11 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
glam dependencies minor 0.17 -> 0.24

Release Notes

bitshifter/glam-rs (glam) ### [`v0.24.2`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0242---2023-09-23) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.24.1...0.24.2) ##### Fixed - Fixed singularities in `Quat::to_euler`. ##### Added - Added `div_euclid` and `rem_euclid` to integer vector types. - Added wrapping and saturating arithmetic operations to integer vector types. - Added `to_scale_angle_translation` to 2D affine types. - Added `mul_assign` ops to affine types. ##### Changed - Disable default features on optional `rkyv` dependency. ### [`v0.24.1`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0241---2023-06-24) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.24.0...0.24.1) ##### Added - Implemented missing `bytemuck`, `mint`, `rand`, `rkyv` and `serde` traits for `i64` and `u64` types. - Added missing safe `From` conversions from `f32` vectors to `f64` vectors. - Added `TryFrom` implementations between different vector types. - Added `test` and `set` methods to `bool` vector types for testing and setting individual mask elements. - Added `MIN`, `MAX`, `INFINITY` and `NEG_INFINITY` vector constants. ### [`v0.24.0`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0240---2023-04-24) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.23.0...0.24.0) ##### Breaking changes - Enabling `libm` in a `std` build now overrides the `std` math functions. This is unlikely to break anything but it is a change in behaviour. ##### Added - Added `i64` and `u64` vector types; `I64Vec2`, `I64Vec3`, `I64Vec4`, `U64Vec2`, `U64Vec3` and `U64Vec4`. - Added `length_squared` method on signed and unsigned integer vector types. - Added `distance_squared` method on signed integer vector types. - Implemented the `bytemuck` `AnyBitPattern` trait on `Vec3A`, `Mat3A` and `Affine3A`. ##### Changed - Changed quaternion `to_axis_angle` for improved numerical stability. ##### Removed - Removed dependency on `serde_derive` for improved compile times when using `serde`. ### [`v0.23.0`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0230---2023-02-22) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.22.0...0.23.0) ##### Breaking changes - When the `scalar-math` feature is enabled the vector mask type for `Vec3A` was changed from `BVec3` to `BVec3A`. ##### Added - Added `copysign` method to signed vector types. ### [`v0.22.0`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0220---2022-10-24) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.21.3...0.22.0) ##### Breaking changes - Added `u32` implementation of `BVec3A` and `BVec4` when SIMD is not available. These are used instead of aliasing to the `bool` implementations. - Removed `Add`, `Sub`, and scalar `Mul` implementations from affine types as they didn't make sense on these types. - Removed deprecated `const_*` macros. These have been replaced by `const fn` methods. ##### Fixed - Fixed `neg` and `signum` to consistently handle negative zero across multiple platforms. - Removed `register_attr` feature usage for SPIR-V targets. ##### Added - Added missing `Serialize`, `Deserialize` and `PartialEq` implementations. - Added `Sum` and `Product` implementations for all vector, matrix and quaternion types. - Added 4x4 matrix methods `look_to_lh` and `look_to_rh`. These were previously private. - Added `dot_into_vec` methods to vector which returns the result of the dot product splatted to all vector lanes. - Added `is_negative_bitmask` to vector types which returns a `u32` of bits for each negative vector lane. - Added `splat` method and `TRUE` and `FALSE` constants to all `BVec` types. - Added `from_mat3a` methods to `Affine2`, `Mat2`, `Mat4` and `Quat` types. ##### Changed - Disable `serde` default features. - Made `to_cols_array`, `to_cols_array_2d`, and `from_diagonal` methods `const fn`. ### [`v0.21.3`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0213---2022-08-02) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.21.2...0.21.3) ##### Fixed - Fixed `glam_assert` being too restrictive in matrix transform point and transform vector methods. ##### Added - Added experimental `core-simd` feature which enables SIMD support via the unstable `core::simd` module. ##### Changed - Derive from `PartialEq` and `Eq` instead of providing a trait implementation for all non SIMD types. ### [`v0.21.2`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0212---2022-06-25) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.21.1...0.21.2) ##### Fixed - Restore missing `$crate::` prefix in deprecated `const_*` macros. - Fixed some performance regressions in affine and matrix determinant and inverses due to lack of inlining. - Fixed some performance regressions in the SSE2 `Vec3A` to `Vec3` from conversion. ##### Added - Implemented `BitXor` and `BitXorAssign` traits for `bool` vectors. ### [`v0.21.1`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0211---2022-06-22) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.21.0...0.21.1) ##### Fixed - Fix compilation when FMA support is enabled. ### [`v0.21.0`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0210---2022-06-22) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.20.5...0.21.0) ##### Breaking changes - Minimum Supported Version of Rust bumped to 1.58.1 to allow `const` pointer dereferences in constant evaluation. - The `abs_diff_eq` method on `Mat2` and `DMat2` now takes `other` by value instead of reference. This is consistent with the other matrix types. - The `AsMut` and `Deref` trait implementations on `Quat` and `DQuat` was removed. Quaternion fields are now public. - The `AsRef` trait implementations were removed from `BVec2`, `BVec3`, `BVec3A`, `BVec4` and `BVec4A`. ##### Added - `NEG_ONE` constant was added to all signed vector types. - `NEG_X`, `NEG_Y`, `NEG_Z` and `NEG_W` negative axis vectors were added to signed vector types. - The `rotate` and `from_angle` methods were added to `Vec2` and `DVec2`. `from_angle` returns a 2D vector containing `[angle.cos(), angle.sin()]` that can be used to `rotate` another 2D vector. - The `from_array` `const` function was added to all vector types. ##### Changed - Source code is now largely generated. This removes most usage of macros internally to improve readability. There should be no change in API or behavior other than what is documented here. - Many methods have been made `const fn`: - `new`, `splat`, `from_slice`, `to_array` and `extend` on vector types - `from_cols`, `from_cols_array`, `from_cols_array_2d`, `from_cols_slice` on matrix types - `from_xyzw` and `from_array` on quaternion types - `from_cols` on affine types - The `const` new macros where deprecated. ##### Removed - Deleted deprecated `TransformRT` and `TransformSRT` types. ### [`v0.20.5`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0205---2022-04-12) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.20.4...0.20.5) ##### Fixed - Fixed a bug in the scalar implementation of 4D vector `max_element` method where the `w` element check was incorrect. ### [`v0.20.4`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0204---2022-04-11) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.20.3...0.20.4) ##### Fixed - Fixed a bug with quaternion `slerp` with a rotation of tau. ### [`v0.20.3`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0203---2022-03-28) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.20.2...0.20.3) ##### Added - Added `to_array()` to `Quat` and `DQuat`. - Added `mul_add` method to all vector types - note that this will be slower without hardware support enabled. - Added the `fast-math` flag which will sacrifice some float determinism for speed. ##### Fixed - Fixed a bug in the `sse2` and `wasm32` implementations of `Mat4::determinant()`. ### [`v0.20.2`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0202---2021-12-20) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.20.1...0.20.2) ##### Fixed - Fixed SPIR-V build which was broken due to a typo. ### [`v0.20.1`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0201---2021-11-23) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.20.0...0.20.1) ##### Added - Added the `from_rotation_arc_2d()` method to `Quat` and `DQuat` which will return a rotation between two 2D vectors around the z axis. - Added impl of `Neg` operator for matrix types. - Added `cuda` feature which forces `glam` types to match cuda's alignment requirements. ##### Changed - The `Quat` and `DQuat` methods `from_rotation_arc()` and `from_rotation_arc_colinear()` are now available in `no_std`. - The `Vec3` and `DVec3` methods `any_orthogonal_vector()`, `any_orthonormal_vector()` and `any_orthonormal_pair()` are now available in `no_std`. - Added `repr(C)` attribute to affine types. ##### Removed - Removed deprecated `as_f32()`, `as_f64()`, `as_i32()` and `as_u32()` methods. ### [`v0.20.0`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0200---2021-11-01) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.19.0...0.20.0) ##### Breaking changes - Minimum Supported Version of Rust bumped to 1.52.1 for an update to the `mint` crate. ##### Added - Added implementations for new `IntoMint` trait from the `mint` crate. - Added `mint` conversions for `Mat3A`. - Added `as_vec3a` cast methods to vector types. ### [`v0.19.0`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0190---2021-10-05) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.18.0...0.19.0) ##### Breaking changes - Removed truncating vector `From` implementations. Use `.truncate()` or swizzle methods instead. ##### Added - Added `Not`, `Shl`, `Shr`, `BitAnd`, `BitOr` and `BitXor` implementations for all `IVec` and `UVec` vector types. - Added `NAN` constant for all types. - Documented `glam`'s [architecture](ARCHITECTURE.md). ##### Changed - `Sum` and `Product` traits are now implemented in `no_std` builds. ### [`v0.18.0`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0180---2021-08-26) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.17.3...0.18.0) ##### Breaking changes - Minimum Supported Version of Rust bumped to 1.51.0 for `wasm-bindgen-test` and `rustdoc` `alias` support. ##### Added - Added `wasm32` SIMD intrinsics support. - Added optional support for the `rkyv` serialization crate. - Added `Rem` and `RemAssign` implementations for all vector types. - Added quaternion `xyz()` method for returning the vector part of the quaternion. - Added `From((Scalar, Vector3))` for 4D vector types. ##### Changed - Deprecated `as_f32()`, `as_f64()`, `as_i32()` and `as_u32()` methods in favor of more specific methods such as `as_vec2()`, `as_dvec2()`, `as_ivec2()` and `as_uvec2()` and so on. ### [`v0.17.3`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0173---2021-07-18) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.17.2...0.17.3) ##### Fixed - Fix alignment unit tests on non x86 platforms. ### [`v0.17.2`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0172---2021-07-15) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.17.1...0.17.2) ##### Fixed - Fix alignment unit tests on i686 and S390x. ### [`v0.17.1`](https://togithub.com/bitshifter/glam-rs/blob/HEAD/CHANGELOG.md#0171---2021-06-29) [Compare Source](https://togithub.com/bitshifter/glam-rs/compare/0.17.0...0.17.1) ##### Added - Added `serde` support for `Affine2`, `DAffine2`, `Affine3A` and `DAffine3`.

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

zmitchell commented 11 months ago

Closed in favor of #31

renovate[bot] commented 11 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.24). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.