Implement Borrow and BorrowMut for contiguous slices.
Modified
The OPoint<T, D> type has been added. It takes the dimension number as a type-level integer (e.g. Const<3>) instead
of a const-generic. The type Point<T, const D: usize> is now an alias for OPoint. This changes doesn't affect any
of the existing code using Point. However, it will allow the use OPoint in a generic context where the dimension
cannot be easily expressed as a const-generic (because of the current limitation of const-generics in Rust).
Several clippy warnings were fixed. This results in some method signature changes (e.g. taking self instead of &self)
but this should not have any practical infulances on existing codebase.
The Point::new constructors are no longer const-fn. This is due to some limitations in const-fn
not allowing custom trait-bounds. Use the point! macro instead to build points in const environments.
Dynamic::new and Unit::new_unchecked are now const-fn.
Methods returning Result<(), ()> now return bool instead.
Fixed
Fixed a potential unsoundess issue when converting a mutable slice to a &mut[T].
[0.27.1]
Fixed
Fixed a bug in the conversion from glam::Vec2 or glam::DVec2 to Isometry2.
[0.27.0]
This removes the convert-glam and convert-glam-unchecked optional features.
Instead, this adds the convert-glam013, convert-glam014, and convert-glam015 optional features for
conversions targeting the versions 0.13, 0.14, and 0.15 of glam.
Added
Add macros matrix!, dmatrix!, vector!, dvector!, point! for constructing matrices/vectors/points in a
more convenient way. See #886 and #899.
Add CooMatrix::reserve to nalgebra-sparse.
Add basic support for serialization using rkyv. Can be enabled with the features rkyv-serialize or
rkyv-serialize-no-std.
Fixed
Fixed a potential unsoundness issue after deserializing an invalid DVector using serde.
[0.26.2]
Added
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.
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)
Bumps nalgebra from 0.25.1 to 0.28.0.
Changelog
Sourced from nalgebra's changelog.
... (truncated)
Commits
7eb5fd3
Update the changelog.cce7d9e
Merge pull request #937 from jsmith628/fixed-size-borrowc320988
Merge pull request #944 from vadixidav/devb007e19
Merge pull request #938 from Nateckert/omatrix_to_stringca1297a
Release v0.28.002e9ac4
import macros from alloc to solve issues with missing format! macro, among ot...7bcb546
Merge pull request #943 from dimforge/point_dim_nameac61e11
Merge pull request #932 from CAD97/moar-const2ce6811
Fix compilation when enabling the bytemuck feature.85d07b2
FIx serde impl boundsDependabot 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)