Conversion from an array [T; D] to an isometry Isometry<T, _, D> (as a translation).
Conversion from a static vector SVector<T; D> to an isometry Isometry<T, _, D> (as a translation).
Conversion from a point Point<T; D> to an isometry Isometry<T, _, D> (as a translation).
Conversion of an array [T; D] from/to a translation Translation<T, D>.
Conversion of a point Point<T, D> to a translation Translation<T, D>.
Conversion of the tuple of glam types (Vec3, Quat) from/to an Isometry2 or Isometry3.
Conversion of a glam type Vec2/3/4 from/to a Translation2/3/4.
[0.26.1]
Fix a regression introduced in 0.26.0 preventing DVector from being serialized with serde.
[0.26.0]
This releases integrates min-const-generics to nalgebra. See
our blog post
for details about this release.
Added
Add type aliases for unit vector, e.g., UnitVector3.
Add a pow and pow_mut function to square matrices.
Add Cholesky::determinant to compute the determinant of a matrix decomposed
with Cholesky.
Add the serde-serialize-no-std feature to enable serialization of static matrices/vectors
with serde, but without requiring std.
Modified
The serde crate isn't enabled by default now. Enable the serde-serialize or the
serde-serialize-no-std features instead.
The Const<const D: usize> type has been introduced to represent dimensions known
at compile-time. This replaces the type-level integers from typenum as well as
the U1, U2, ..., U127 types from nalgebra. These U1, U2, ..., U127 are now
just aliases for Const<D>, e.g., type U2 = Const<2>.
The ArrayStorage now uses a standard array [[T; R]; C] instead of a GenericArray.
Many trait bounds were changed to accommodate const-generics. Most of these changes
should be transparent wrt. non-generic code.
The MatrixMN alias has been deprecated. Use OMatrix or SMatrix instead.
The MatrixN<T, D> alias has been deprecated. Use OMatrix<T, D, D> or SMatrix instead.
The VectorN<T, D> alias has been deprecated. Use OVector or SVector instead.
The Point, Translation, Isometry, Similarity, and Transformation types now take an
integer for their dimension (instead of a type-level integer).
The type parameter order of Isometry, Similarity, Transformation changed to put
the integer dimensions in the last position (this is required by the compiler).
The ::new constructors of translations, points, matrices, and vectors of dimensions <= 6
are now const fn, making them usable to define constant globals. The Quaternion::new
constructor is also a const fn now.
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Updates the requirements on nalgebra to permit the latest version.
Changelog
Sourced from nalgebra's changelog.
... (truncated)
Commits
58bea21
Release v0.26.2fb21476
Merge pull request #874 from dimforge/more_conversions0745384
Update changelog.d59d438
Add more conversion for glam types65b94cc
Add more conversions for translationsdb27a08
Cleanup conversions between points and static vectors.09be376
Add more conversion for Isometry43cf22a
Cleanup conversion between static arrays and static matrices.984bb1a
Fix const-generics blog post url in the changelog.28bfb4a
Update 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)