Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update rust crate glam to 0.28.0 #61

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 10, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
glam dev-dependencies minor 0.25.0 -> 0.28.0
glam dependencies minor 0.25.0 -> 0.28.0

Release Notes

bitshifter/glam-rs (glam)

v0.28.0

Compare Source

Breaking changes
  • Removed derives from glam::deref types used by Deref on SIMD vector
    types. These unintentionally added support for traits like PartialOrd to
    SIMD vector types. This may break existing code that was depending on this.
    Please use cmple().all() etc. instead of PartialOrd methods.

  • Removed impl From<Vec4> for Vec3A as this violated the From trait
    contract that conversions should be lossless. Please use the explicit
    Vec3A::from_vec4 method instead.

  • Renamed 2D vector angle_between to angle_to to differentiate from the 3D
    angle_between which has different semantics to the 2D version.

Added
  • Added aarch64 neon support.

  • Added rotate_towards methods for 2D vectors and quaternions.

  • Added Vec3A::from_vec4 method which can perform a no-op conversion when
    SIMD is used. This replaces the impl From<Vec4> for Vec3A implementation.

v0.27.0

Compare Source

Breaking changes
  • Changed implementation of vector fract method to match the Rust
    implementation instead of the GLSL implementation, that is self - self.trunc() instead of self - self.floor().
Added
  • Added vector fract_gl which uses the GLSL specification of fract,
    self - self.floor().

v0.26.0

Compare Source

Breaking changes
  • Minimum Supported Rust Version bumped to 1.68.2 for
    impl From<bool> for {f32,f64} support.
Fixed
  • Respect precision format specifier in Display implementations. Previously it
    was ignored.

  • Corrected precision documentation for vector is_normalized methods and
    changed the internal check to use 2e-4 to better match the documented
    precision value of 1e-4.

Added
  • Added with_x, with_y, etc. to vector types which returns a copy of
    the vector with the new component value.

  • Added midpoint method to vector types that returns the point between two
    points.

  • Added move_towards for float vector types.

  • Added saturating add and sub methods for signed and unsigned integer vector
    types.

  • Added element wise sum and product methods for vector types.

  • Added element wise absolute values method for matrix types.

  • Added from_array method for boolean vector types.

  • Added normalize_or method to vector types that returns the specified value
    if normalization failed.

  • Added From<BVecN> support for all vector types.

  • Added Div and DivAssign by scalar implementations to matrix types.


Configuration

📅 Schedule: Branch creation - "after 10pm,before 5:00am" in timezone Europe/Zurich, 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 these updates again.


  • If you want to rebase/retry this PR, check this box

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

@jcornaz jcornaz closed this Jun 12, 2024
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.

None yet

1 participant