olson-sean-k / theon

Abstraction of Euclidean spaces.
MIT License
5 stars 4 forks source link

Update nalgebra requirement from ^0.22.0 to ^0.26.2 #39

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Updates the requirements on nalgebra to permit the latest version.

Changelog

Sourced from nalgebra's changelog.

[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.

[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.

[0.25.4]

Fixed

... (truncated)

Commits
  • 58bea21 Release v0.26.2
  • fb21476 Merge pull request #874 from dimforge/more_conversions
  • 0745384 Update changelog.
  • d59d438 Add more conversion for glam types
  • 65b94cc Add more conversions for translations
  • db27a08 Cleanup conversions between points and static vectors.
  • 09be376 Add more conversion for Isometry
  • 43cf22a Cleanup conversion between static arrays and static matrices.
  • 984bb1a Fix const-generics blog post url in the changelog.
  • 28bfb4a Update Changelog.
  • Additional commits viewable in compare view


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[bot] commented 3 years ago

Superseded by #45.