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.
[0.25.0] - 2023-12-19
Breaking changes
Changed Vec4 to always used BVec4A as a mask type, regardless if the
target architecture has SIMD support in glam. Previously this was inconsistent
on different hardware like ARM. This will have a slight performance cost when
SIMD is not available. Vec4 will continue to use BVec4 as a mask type when
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 to permit the latest version.
Changelog
Sourced from glam's changelog.
... (truncated)
Commits
121f9b7
Prepare 0.26.0 release. (#496)dd9c3ef
Updated CHANGELOG.246ae4c
Addwith_x
,with_y
, etc. to vector types. (#493)30948c4
Addmove_towards
for vectors (#492)231a867
Update changelog.35a2f76
Respect precision format specifier in Display implementations. (#491)ab85e2a
Add Div and DivAssign by scalar implementations to matrix types. (#489)fb8ef0f
Add From BVecN and BVecNA for all vector types. (#488)962d59d
Fix CI9e5575b
Bump MSRV to 1.66.1 forsaturating_add_unsigned
support. (#487)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 show