Added serde support for Affine2, DAffine2, Affine3A and DAffine3.
[0.17.0] - 2021-06-26
Breaking changes
The addition of Add and Sub implementations of scalar values for vector
types may create ambiguities with existing calls to add and sub.
Removed From<Mat3> implementation for Mat2 and From<DMat3> for DMat2.
These have been replaced by Mat2::from_mat3() and DMat2::from_mat3().
Removed From<Mat4> implementation for Mat3 and From<DMat4> for DMat3.
These have been replaced by Mat3::from_mat4() and DMat3::from_mat4().
Removed deprecated from_slice_unaligned(), write_to_slice_unaligned(),
from_rotation_mat4 and from_rotation_ypr() methods.
Added
Added col_mut() method which returns a mutable reference to a matrix column
to all matrix types.
Added AddAssign, MulAssign and SubAssign implementations for all matrix
types.
Added Add and Sub implementations of scalar values for vector types.
Added more glam_assert! checks and documented methods where they are used.
Added vector projection and rejection methods project_onto(),
project_onto_normalized(), reject_from() and reject_from_normalized().
Added Mat2::from_mat3(), DMat2::from_mat3(), Mat3::from_mat4(),
DMat3::from_mat4() which create a smaller matrix from a larger one,
discarding a final row and column of the input matrix.
Added Mat3::from_mat2(), DMat3::from_mat2(), Mat4::from_mat3() and
DMat4::from_mat3() which create an affine transform from a smaller linear
transform matrix.
Changed
Don't support AsRef and AsMut on SPIR-V targets. Also removed SPIR-V
support for some methods that used as_ref(), including hash(). Not a
breaking change as these methods would not have worked anyway.
Fixed
Fixed compile time alignment checks failing on i686 targets.
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 to permit the latest version.
Changelog
Sourced from glam's changelog.
... (truncated)
Commits
059f619
Prepare 0.17.1 release (#211)0d190db
Merge pull request #210 from bitshifter/issue-20956c65ba
Add missing serde implementations.011e983
Fix approx link in README2bc6c98
Actually update the version number!89597fa
Merge pull request #207 from bitshifter/prepare-0.17.07ff7e54
Prepare for 0.17.0 release.2175f0b
Added explicit from_matn methods to matrix types (#206)92946b9
Merge pull request #204 from bitshifter/issue-1365860a66
Updated CHANGELOG.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)