Commit Graph

1832 Commits

Author SHA1 Message Date
sebcrozet 9e2541f949 Add a Point::from_slice 2018-10-13 13:13:48 +02:00
sebcrozet a68937990b Consider two empty matrices as equal. 2018-10-13 12:59:36 +02:00
sebcrozet 54747817b2 Remove node on test. 2018-10-13 12:59:36 +02:00
sebcrozet a390732b97 Fix partial_cmp 2018-10-13 12:59:36 +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
João Costa 7a95644a21 Simplify SVD recompose pattern match 2018-10-13 10:55:37 +02:00
João Costa 8b1aa2078c Change the SVD methods to return a Result instead of panicking 2018-10-13 10:55:37 +02:00
Bruce Mitchener 4d7b215146 Add see also + examples for scalar min/max. 2018-10-09 08:31:38 +02:00
Bruce Mitchener 3be727e76b Capitalize 'Euclidean'. 2018-10-09 08:31:38 +02:00
Bruce Mitchener e91ed3b0cd Explain l1 and l2 norms. 2018-10-09 08:31:38 +02:00
Bruce Mitchener 187fe9ca39 Start to cross-link vector contructors / conversions. 2018-10-09 08:31:38 +02:00
Bruce Mitchener 0dbe69ddb7 Reformat parameter listings in docs. 2018-10-08 07:54:26 +02:00
Bruce Mitchener e7610196b6 Add more see also content. 2018-10-08 07:54:26 +02:00
Bruce Mitchener 8b0918ff1f Add more doc test and correct see also for vector relational functions. 2018-10-08 07:54:26 +02:00
Bruce Mitchener ccc55b5766 Correctly flag "See also" headers. 2018-10-08 07:54:26 +02:00
sebcrozet 4a5c828db4 Release nalgebra-glm v0.1.3. 2018-10-07 12:19:10 +02:00
sebcrozet f0b29a9d23 Fix glm::clamp.
Fix #434.
2018-10-07 07:26:24 +02:00
sebcrozet 8125d7687a Run CI tests on nalgebra-glm too. 2018-10-07 06:34:03 +02:00
Bruce Mitchener 81b19e9c8e glm docs: Add examples for clamp and clamp_scalar. 2018-10-07 06:01:36 +02:00
Bruce Mitchener 890286293f glm docs: Explain that TVec is a TMat. 2018-10-07 06:01:36 +02:00
Bruce Mitchener 0c5cc0b65e glm docs: Fix broken doc test. 2018-10-07 06:01:36 +02:00
sebcrozet c7c156a6a0 Use other keywords for isometry documentations.
Fix #419.
2018-10-06 07:27:40 +02:00
Bruce Mitchener aed58d0dd6 Vector and quaternion alias improvements.
By aliasing to the aliases defined within glm rather than going
directly to nalgebra types / aliases, we're able to improve the
experience of linking through the docs in the glm docs.

For example, with TVec1 defined in terms of TVec rather than Vector1,
then the docs link from TVec1 to TVec and we're able to better
explain the concepts at the glm level.
2018-10-05 20:34:15 +02:00
Bruce Mitchener 3a24afd111 clippy: Use println!(f), without empty string. 2018-10-05 20:31:29 +02:00
Bruce Mitchener a34ad7d15f clippy: Use f32::from_bits(). 2018-10-05 20:30:41 +02:00
sebcrozet a27833f22c Release nalgebra-glm v0.1.2 2018-10-05 06:09:08 +02:00
Bruce Mitchener cb96cdb794 clippy: Prefer unwrap_or_else to unwrap_or. 2018-10-05 06:00:50 +02:00
Bruce Mitchener 71011c080e clippy: Remove redundant closures. 2018-10-05 06:00:21 +02:00
sebcrozet 8699a85693 Remove doc-test for `sign` on matrices since they are not supported for now. 2018-10-05 05:56:25 +02:00
sebcrozet 87c97497d2 Fix the glm::sign function to match its documentation.
Fix #422.
2018-10-05 05:56:25 +02:00
sebcrozet e2736caff6 Fix glm::perspective.
Fix #423.
2018-10-05 05:50:56 +02:00
Bruce Mitchener a01fde5699 Add more doc linking and some doc tests. 2018-10-04 21:04:50 +02:00
Sébastien Crozet 5059d7ee7b Add conditional compilation for the base::MatrixVec import too. 2018-10-04 20:37:12 +02:00
Sébastien Crozet 3abeae04f5 Add conditional compilation to From impls for dynamically-sized matrices. 2018-10-04 20:37:12 +02:00
Jack Wrenn 23d646c342 Add an `Into` impl for converting `MatrixSlice`s into `MatrixMN`
See #342.
2018-10-04 20:37:12 +02:00
Bruce Mitchener 516abbfa06 'every components' -> 'every component' 2018-10-04 05:26:21 +02:00
Bruce Mitchener ca9b4e38dd Add more see-also content to glm docs. 2018-10-04 05:26:21 +02:00
mborst 12962c3c13 Implement map_with_location. 2018-09-28 05:22:32 +02:00
Thomas Vincent 7331807a6d Fix minor typos 2018-09-27 06:16:04 +02:00
Bruce Mitchener a8ae62ea52 Improve cross-linking and cross-referencing in docs. 2018-09-27 06:00:32 +02:00
Bruce Mitchener a3a2ed81a8 Fix typos in CHANGELOG.md. 2018-09-27 05:50:16 +02:00
Bruce Mitchener 57fa7099aa Call `base` that instead of `based`. 2018-09-27 05:49:18 +02:00
Bruce Mitchener 3aeb2549d8 Refer to macOS, not Mac OS X. 2018-09-25 20:35:29 +02:00
Bruce Mitchener c6ca1ca3e2 glm: Use - instead of : after parameter names.
This makes things consistent with the other doc comments here.
2018-09-25 20:17:27 +02:00
Bruce Mitchener 20b464f5b8 glm: Add missing backticks around parameter names. 2018-09-25 20:17:27 +02:00
Bruce Mitchener 96a2a56800 Use 3 space indents to avoid triggering syntax highlighting. 2018-09-25 20:17:27 +02:00
Bruce Mitchener 8bd6be8fe1 lapack: Use double quotes instead of single.
Without this, this generates a warning / error when running rustdoc.
2018-09-25 20:17:27 +02:00
Bruce Mitchener c56ec720eb glm: Use doc comments instead of regular comment. 2018-09-25 20:17:27 +02:00
Benjamin Saunders 2f03857017 Introduce Unit::from_ref_unchecked 2018-09-25 05:35:20 +02:00
sebcrozet e73701b3a8 Release v0.16.4 2018-09-24 22:06:29 +02:00