chore(deps): update rust crate glam to 0.31.0 #8928
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.30.7→0.31.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
bitshifter/glam-rs (glam)
v0.31.0Compare Source
Breaking changes
The signature of
Quat::from_affine3(&Affine3A)was changed toQuat::from_affine3(&Affine3)with the addition of theAffine3type.Removed deprecated
Vec2andDVec2angle_betweenmethods.Consistently use
&selffor matrix and affine type methods andselffor vector, quat and mask types.
Added
Added
Affine3type.Added
diagonalmethod to matrix types which returns a vector containing thediagonal of the matrix.
Added
mul_diagonal_scalemethods to matrix types which multiply the matrixby a scale vector without needing to mulitply by a scale matrix.
Added
mul_transpose_vecnmethods to matrix types which multiply the vectorby the transpose of the matrix without needing to transpose it first. They can
be slightly more efficient for SIMD backed types.
Added
try_inversemethod to matrix types which returns an option containingthe inverted matrix or
Noneif the matrix was not invertible.Added
inverse_or_zeromethod to matrix types which returns the invertedmatrix or a zero matrix if the matrix was not invertible.
Added
stepandsaturatemethods to theFloatExttrait.Added
step,saturate,sqrt,sin,cosandsin_cosmethods to floatvector types.
Added
from_rotation_axesmethod to quaternion types. This method waspreviously internal only.
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), 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 was generated by Mend Renovate. View the repository job log.