Sébastien Crozet
e913beca88
Switch to derive macros for rkyv and bytecheck
2022-04-30 10:47:30 +02:00
Sébastien Crozet
77cf2c935f
Merge pull request #1096 from sterlingjensen/cleanupdoc
...
Cleanup examples and doc links
2022-03-24 10:00:24 +01:00
sterlingjensen
724117e5ad
Cleanup examples and doc links
...
Close example code fences and normalize containing head line in touched files.
Remove stale reference to `slice_assume_init` (commit 8c6ebf27
), fix long dead internal links in deprecation notices.
2022-03-22 12:03:18 -05:00
Sébastien Crozet
d7117e228a
Use cust_core instead of cust
2022-03-16 18:07:29 +01:00
Sébastien Crozet
9d897a6b8a
Add support for rust-cuda
2021-11-23 12:03:11 +01:00
Rémi Lauzier
ea9a9e8b7f
Fix some clippy warnings
2021-08-28 12:05:21 -04:00
Sébastien Crozet
dd6c40016e
Remove the Copy requirement from SimdRealField.
2021-08-04 17:34:25 +02:00
Sébastien Crozet
8c6ebf2757
Implement the single-allocator-trait approach.
2021-08-02 18:41:46 +02:00
Sébastien Crozet
d34fed45bc
Merge branch 'dev' into ub3
2021-08-02 18:40:33 +02:00
Rémi Lauzier
c35f792b4f
Fix some warnings
2021-07-27 19:24:55 -04:00
Sébastien Crozet
99a79d51f5
Merge pull request #925 from CAD97/bytemuck
...
Impl bytemuck traits for geometry types
2021-07-27 15:19:14 +02:00
Sébastien Crozet
15c4a25c96
Merge pull request #950 from CAD97/moar-const
...
Make `from_matrix_unchecked`es const
2021-07-27 15:18:42 +02:00
Rémi Lauzier
ed6b34a0d6
Fix rust_2018_idioms warnings
2021-07-25 13:18:21 -04:00
CAD97
ceb30a68b8
Fix a few bitrotted user guide links
2021-07-23 21:22:59 -05:00
CAD97
04dd3ff241
Make some from_matrix_unchecked const
2021-07-22 18:07:12 -05:00
Christopher Durham
07c3fbc191
Merge branch 'dev' into bytemuck
2021-07-22 17:47:57 -05:00
Violeta Hernández
10b5dc9bb6
Many miscellaneous improvements throughout
2021-07-17 20:19:20 -05:00
Violeta Hernández
9a528e23b9
Almost!
2021-07-17 04:36:14 -05:00
Violeta Hernández
a6b8dd6d78
Checkpoint #10
2021-07-17 02:52:57 -05:00
Sébastien Crozet
ac61e112dd
Merge pull request #932 from CAD97/moar-const
...
Remove scalar bound from geometry type defs
2021-07-10 11:28:23 +02:00
CAD97
22ba88353a
Fix bounds for bytemuck impls
2021-07-09 15:23:08 -05:00
Rémi Lauzier
bbd60fbc8c
Fix some clippy warnings and typo
2021-07-06 11:39:29 -04:00
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
CAD97
396d3d6615
Add missing repr(C) on bytemuckable geometry types
2021-06-28 20:49:57 -05:00
CAD97
cb0812aaf3
Add bytemuck impls to geometry types
2021-06-28 20:36:28 -05:00
Violeta Hernández
281b140365
Fix most clippy warnings
2021-06-18 09:45:37 +02:00
Malte Tammena
9fb963017f
Simplify default #[must_use]
annotation
2021-06-07 16:34:03 +02:00
Malte Tammena
39aa52d019
Add must_use annotations in src/**/*.rs
2021-06-06 14:46:36 +02:00
Crozet Sébastien
95b021dbfb
Don't enable serde by default.
...
Don't enable `serde/std` by default.
Add a `serde-serialize-no-std` feature to enable serde without its default features.
2021-04-12 12:14:16 +02:00
Crozet Sébastien
24d546d3b6
Rename generic parameter N -> T
2021-04-11 13:57:54 +02:00
Vinzent Steinberg
c8fe49b1e9
Add some comments about random variates
2021-04-10 03:36:21 -03:00
Crozet Sébastien
c32172b6b9
Make the rand dependency optional.
2021-03-02 12:25:12 +01:00
Crozet Sébastien
6cfd2bca14
Use proptest for all nalgebra tests.
2021-02-28 17:52:14 +01:00
Philippe Renon
87ee014bd3
clippy: fix clone_on_copy warnings
2020-11-19 12:55:15 +01:00
Crozet Sébastien
e852df6124
Add sections for most Matrix methods.
2020-11-15 16:57:49 +01:00
Philippe Renon
6293d3375b
clippy: fix #redundant_field_names
2020-10-11 11:42:22 +02:00
Philippe Renon
fb15658cc9
fix typo: apsect should be aspect
2020-10-11 11:42:22 +02:00
sebcrozet
bbb3be512e
Run cargo fmt.
2020-04-05 18:49:48 +02:00
sebcrozet
f8cd26cfa9
Replace alga by simba.
2020-03-21 12:16:46 +01:00
nnmm
54f1c71742
Small docs improvements
2020-03-02 12:45:39 +01:00
sebcrozet
4ef4001836
Rename Real to RealField.
2019-03-25 11:21:41 +01:00
sebcrozet
3cbe60523a
2018 edition.
2019-03-23 14:33:47 +01:00
adamnemecek
975d72f070
Replace explicit types with Self where possible.
2019-02-16 22:29:41 +01:00
sebcrozet
381fdb642c
Remove useless extern crate in doc-tests.
2019-02-03 11:01:11 +01:00
Jack Wrenn
9600c45dd4
Rename Orthographic3::unwrap
to Orthographic3::into_inner
and deprecate Orthographic3::unwrap
...
See #460
2018-12-16 12:58:20 +01:00
sebcrozet
bd7d0be7a8
Remove over-restrictive assertions on Orthographic3 construction + add doc-tests.
...
Fix #365
2018-11-10 12:57:47 +01:00
sebcrozet
14ad10a7e0
Add rustfmt.toml and run it.
2018-10-27 15:00:18 +02:00
sebcrozet
18e9b8998d
Add impls of From/Into to convert any transformation types to a matrix.
2018-10-13 11:25:19 +02:00
sebcrozet
38c7ed3a11
Add methods to see a Perspective3 or Orthographic3 as a Projective3.
2018-09-22 16:15:11 +02:00
sebcrozet
b272f3ba76
Fix compilation errors when the serde-serialize feature is enabled.
...
Fix #369 .
2018-09-13 07:49:38 +02:00