K4ugummi / carambolage

A game written in Rust.
GNU General Public License v3.0
37 stars 5 forks source link

Bump nalgebra from 0.16.13 to 0.17.0 #60

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps nalgebra from 0.16.13 to 0.17.0.

Changelog *Sourced from [nalgebra's changelog](https://github.com/rustsim/nalgebra/blob/master/CHANGELOG.md).* > ## [0.17.0] - WIP > > ### Added > * Add swizzling up to dimension 3 for vectors. For example, you can do `v.zxy()` as an equivalent to `Vector3::new(v.z, v.x, v.y)`. > * Add swizzling up to dimension 3 for points. For example, you can do `p.zxy()` as an equivalent to `Point3::new(p.z, p.x, p.y)`. > * Add `.copy_from_slice` to copy matrix components from a slice in column-major order. > * Add `.dot` to quaternions. > * Add `.zip_zip_map` for iterating on three matrices simultaneously, and applying a closure to them. > * Add `.slerp` and `.try_slerp` to unit vectors. > * Add `.lerp` to vectors. > * Add `.to_projective` and `.as_projective` to `Perspective3` and `Orthographic3` in order to > use them as `Projective3` structures. > * Add `From/Into` impls to allow the conversion of any transformation type to a matrix. > * Add `Into` impls to convert a matrix slice into an owned matrix. > * Add `Point*::from_slice` to create a point from a slice. > * Add `.map_with_location` to matrices to apply a map which passes the component indices to the user-defined closure alongside > the component itself. > * Add impl `From` for `Point`. > * Add impl `From` for `Quaternion`. > * Add impl `From` for `Translation`. > * Add the `::from_vec` constructor to construct a matrix from a `Vec` (a `DMatrix` will reuse the original `Vec` > as-is for its storage). > * Add `.to_homogeneous` to square matrices (and with dimensions higher than 1x1). This will increase their number of row > and columns by 1. The new column and row are filled with 0, except for the diagonal element which is set to 1. > * Implement `Extend` for matrices with a dynamic storage. The provided `Vec` is assumed to represent a column-major > matrix with the same number of rows as the one being extended. This will effectively append new columns on the right of > the matrix being extended. > * Implement `Extend` for vectors with a dynamic storage. This will concatenate the vector with the given `Vec`. > * Implement `Extend>` for matrices with dynamic storage. This will concatenate the columns of both matrices. > * Implement `Into` for the `MatrixVec` storage. > * Implement `Hash` for all matrices. > * Add a `.len()` method to retrieve the size of a `MatrixVec`. > > ### Modified > * The orthographic projection no longer require that `bottom < top`, that `left < right`, and that `znear < zfar`. The > only restriction now ith that they must not be equal (in which case the projection would be singular). > * The `Point::from_coordinates` methods is deprecated. Use `Point::from` instead. > * The `.transform_point` and `.transform_vector` methods are now inherent methods for matrices so that the user does not have to > explicitly import the `Transform` trait from the alga crate. > * Renamed the matrix storage types: `MatrixArray` -> `ArrayStorage` and `MatrixVec` -> `VecStorage`. > * Renamed `.unwrap()` to `.into_inner()` for geometric types that wrap another type. > This is for the case of `Unit`, `Transform`, `Orthographic3`, `Perspective3`, `Rotation`. > * Deprecate several functions at the root of the crate (replaced by methods). > > ### Removed > * Remove the `Deref` impl for `MatrixVec` as it could cause hard-to-understand compilation errors. > > ### nalgebra-glm > * Add several alternative projection computations, e.g., `ortho_lh`, `ortho_lh_no`, `perspective_lh`, etc. > * Add features matching those of nalgebra, in particular: `serde-serialize`, `abmonation-serialize`, std` (enabled by default). > ... (truncated)
Commits - See full diff in [compare view](https://github.com/rustsim/nalgebra/commits)


Dependabot compatibility score

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 cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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) - Automerge options (never/patch/minor, and dev/runtime dependencies) - 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) Finally, you can contact us by mentioning @dependabot.
dependabot-preview[bot] commented 5 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.