nalgebra/src
CAD97 314b4dd103 Remove scalar bound from geometry type defs
This was inconsistently applied, with some types having <T>, some having
<T: Scalar>, and some having <T: RealField>.
This unifies all types to match the convention of Matrix:
Just declare <T> at type def time, and apply bounds on impls only.

A significant advantage of this approach is const fn construction. Const
fn generics currently still can't have trait bounds, so any generic
const fn needs to only move opaque types around. Construction methods
such as new_unchecked or from_parts can be made const by removing their
generic bounds after this PR.

Actual constification is left to a follow-up PR.

Note that na::Transform is _not_ loosened here, as it has more complicated
definition requirements.
2021-07-05 19:04:10 -05:00
..
base Add a couple trivial const fn conversions 2021-07-04 17:42:39 -05:00
debug Rename generic parameter N -> T 2021-04-11 13:57:54 +02:00
geometry Remove scalar bound from geometry type defs 2021-07-05 19:04:10 -05:00
io Rename generic parameter N -> T 2021-04-11 13:57:54 +02:00
linalg Fix most clippy warnings 2021-06-18 09:45:37 +02:00
proptest Rename generic parameter N -> T 2021-04-11 13:57:54 +02:00
sparse Normalize `#[must_use]` hints 2021-06-07 16:44:59 +02:00
third_party Fix bug in the glam conversion Vec2 -> Isometry2 2021-06-04 10:52:28 +02:00
lib.rs Fix most clippy warnings 2021-06-18 09:45:37 +02:00