svenstaro / bvh

A fast BVH using SAH in rust
https://docs.rs/bvh
MIT License
227 stars 38 forks source link

Update glam requirement from 0.20 to 0.21 #85

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on glam to permit the latest version.

Changelog

Sourced from glam's changelog.

[0.21.1] - 2022-06-22

Fixed

  • Fix compilation when FMA support is enabled.

[0.21.0] - 2022-06-22

Breaking changes

  • Minimum Supported Version of Rust bumped to 1.58.1 to allow const pointer dereferences in constant evaluation.

  • The abs_diff_eq method on Mat2 and DMat2 now takes other by value instead of reference. This is consistent with the other matrix types.

  • The AsMut and Deref trait implementations on Quat and DQuat was removed. Quaternion fields are now public.

  • The AsRef trait implementations were removed from BVec2, BVec3, BVec3A, BVec4 and BVec4A.

Added

  • NEG_ONE constant was added to all signed vector types.

  • NEG_X, NEG_Y, NEG_Z and NEG_W negative axis vectors were added to signed vector types.

  • The rotate and from_angle methods were added to Vec2 and DVec2. from_angle returns a 2D vector containing [angle.cos(), angle.sin()] that can be used to rotate another 2D vector.

  • The from_array const function was added to all vector types.

Changed

  • Source code is now largely generated. This removes most usage of macros internally to improve readability. There should be no change in API or behavior other than what is documented here.

  • Many methods have been made const fn:

    • new, splat, from_slice, to_array and extend on vector types
    • from_cols, from_cols_array, from_cols_array_2d, from_cols_slice on matrix types
    • from_xyzw and from_array on quaternion types
    • from_cols on affine types
  • The const new macros where deprecated.

... (truncated)

Commits
  • 30bfaef Update version numbers in README.
  • 3199c0b Fix clippy lints in codegen tool.
  • 9538ca9 Prepare 0.21.1 release with fma compilation fix.
  • 92d9414 Merge pull request #297 from MarijnS95/fma
  • d306699 codegen: Fix missing parameter c and types in mul_add for fma
  • db689d7 Prepare 0.21.0 release.
  • 4fd8b38 Updated CHANGELOG.
  • 5efff51 Add negative axis constants to vectors.
  • 57ab584 Removed some old TODOs.
  • 1edbe4c Exclude align and size test from spirv for now.
  • 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)