Skip to content

Update glam requirement from 0.14.0 to 0.15.1#2195

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/glam-0.15.1
Closed

Update glam requirement from 0.14.0 to 0.15.1#2195
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/glam-0.15.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 17, 2021

Updates the requirements on glam to permit the latest version.

Changelog

Sourced from glam's changelog.

[0.15.1] - 2021-05-14

Changed

  • Disable const_assert_eq size and alignment checks for SPIR-V targets.

[0.15.0] - 2021-05-14

Breaking changes

  • Removed PartialOrd and Ord trait implementations for all glam types.
  • Removed deprecated zero(), one(), unit_x(), unit_y(), unit_z(), unit_w(), identity() and Mat2::scale() methods.
  • Remove problematic Quat From trait conversions which would allow creating a non-uniform quaternion without necessarily realising, including from Vec4, (x, y, z, w) and [f32; 4].

Added

  • Added EulerRot enum for specifying Euler rotation order and Quat::from_euler(), Mat3::from_euler() and Mat4::from_euler() which support specifying a rotation order and angles of rotation.
  • Added Quat::to_euler() method for extracting Euler angles.
  • Added Quat::from_vec4() which is an explicit method for creating a quaternion from a 4D vector. The method does not normalize the resulting quaternion.
  • Added Mat3A type which uses Vec3A columns. It is 16 byte aligned and contains internal padding but it generally faster than Mat3 for most operations if SIMD is available.
  • Added 3D affine transform types Affine3A and DAffine3. These are more efficient than using Mat4 and DMat4 respectively when working with 3D affine transforms.
  • Added 2D affine transform types Affine2 and DAffine2. These are more efficient than using Mat3 and DMat3 respectively when working with 2D affine transforms.
  • Added Quat::from_affine3 to create a quaternion from an affine transform rotation.
  • Added explicit to_array method to vector types to better match the matrix methods.

Changed

  • Deprecated Quat::from_rotation_ypr(), Mat3::from_rotation_ypr() and Mat4::from_rotation_ypr() in favor of new from_euler() methods.
  • Deprecated Quat::from_rotation_mat3() and Quat::from_rotation_mat4() in favor of new from_mat3 and from_mat4 methods.
  • Deprecated TransformSRT and TransformRT which are under the transform-types feature. These will be moved to a separate experimental crate.
  • Updated spriv-std dependency version to 0.4.0-alpha7.

... (truncated)

Commits
  • 38f7969 Merge pull request #181 from bitshifter/prepare-0.15.1
  • bb0de2a Prepare 0.15.1 release to fix SPIR-V targets.
  • 95b410e Prepare for 0.15.0 release.
  • 5145d22 Documentation changes around new Mat3A and affine types (#178)
  • c9b28a6 Merge branch 'master' of github.com:bitshifter/glam-rs
  • 76e07db Remove some unnecessary usage of as_ref.
  • c92a00d More CHANGELOG items.
  • 978d594 Update CHANGELOG.
  • 0c89941 Undo more transform changes.
  • c811738 Missed some affine usage that was still on transform-types.
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [glam](https://github.com/bitshifter/glam-rs) to permit the latest version.
- [Release notes](https://github.com/bitshifter/glam-rs/releases)
- [Changelog](https://github.com/bitshifter/glam-rs/blob/master/CHANGELOG.md)
- [Commits](bitshifter/glam-rs@0.14.0...0.15.1)

Signed-off-by: dependabot[bot] <support@github.com>
@NathanSWard
Copy link
Contributor

Note, #2199 is preferred to this since it addresses the glam breaking changes.

@NathanSWard
Copy link
Contributor

Closing this in favor of #2199 and tracking the progress with hexashpere there.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 17, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/glam-0.15.1 branch May 17, 2021 18:18
bors bot pushed a commit that referenced this pull request May 18, 2021
This is a version of #2195 which addresses the `glam` breaking changes.
Also update hexasphere to ensure versions of `glam` are matching
ostwilkens pushed a commit to ostwilkens/bevy that referenced this pull request Jul 27, 2021
This is a version of bevyengine#2195 which addresses the `glam` breaking changes.
Also update hexasphere to ensure versions of `glam` are matching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant