Sébastien Crozet
c6ff3eeb7e
Merge pull request #1265 from waywardmonkeys/fix-html-links
...
docs: Use intradoc links rather than HTML.
2023-09-30 18:24:28 +02:00
Bruce Mitchener
8609167053
nalgebra-glm: Fix clippy single_component_path_imports.
...
These imports are redundant and not needed.
2023-08-19 00:19:42 +07:00
Bruce Mitchener
136a565579
docs: Use intradoc links rather than HTML.
...
This fixes almost all HTML links to be intradoc links that Rust
can verify during `cargo doc`. This will help prevent future
broken links.
2023-08-06 22:34:40 +07:00
Chris Ohk
fd97a82926
fix: Correct minor typos
2023-02-01 15:48:06 +09:00
Sébastien Crozet
85074398d0
Fix nalgebra-glm
2021-08-08 12:59:40 +02:00
Sébastien Crozet
dd6c40016e
Remove the Copy requirement from SimdRealField.
2021-08-04 17:34:25 +02:00
Crozet Sébastien
24d546d3b6
Rename generic parameter N -> T
2021-04-11 13:57:54 +02:00
Crozet Sébastien
e852df6124
Add sections for most Matrix methods.
2020-11-15 16:57:49 +01:00
sebcrozet
bbb3be512e
Run cargo fmt.
2020-04-05 18:49:48 +02:00
Avi Weinstock
774f4da3e2
Add `Clone` to `Scalar`, providing a default implementation of `inlined_clone`. Change `Scalar + Clone` bounds to just `Scalar`.
2020-03-02 12:45:37 +01:00
Avi Weinstock
52aac8b975
Add inlined_clone to Scalar, and relax bounds from `Scalar + Copy` to `Scalar + Clone` nearly everywhere.
...
The various nalgebra-lapack FooScalars are still Copy because they make use of uninitialized memory.
nalgebgra-glm Number still uses Copy because upstream `approx` requires it.
2020-03-02 12:45:37 +01:00
Avi Weinstock
6c236af696
Add Scalar + Copy bounds to code that's under feature flags.
...
`./ci/test.sh` now passes locally.
Refactoring done via the following sed commands:
```bash
export RELEVANT_SOURCEFILES="$(find src -name '*.rs') $(find examples -name '*.rs')"
for f in $RELEVANT_SOURCEFILES; do sed -i 's/N\([0-9]\?\): *Scalar + \(Arbitrary\)/N\1: Scalar + Copy + \2/' $f; done
for f in $RELEVANT_SOURCEFILES; do sed -i 's/N\([0-9]\?\): *Scalar + \(Serialize\)/N\1: Scalar + Copy + \2/' $f; done
for f in $RELEVANT_SOURCEFILES; do sed -i 's/N\([0-9]\?\): *Scalar + \(Deserialize\)/N\1: Scalar + Copy + \2/' $f; do
export RELEVANT_SOURCEFILES="$(find nalgebra-glm -name '*.rs')"
for f in $RELEVANT_SOURCEFILES; do sed -i 's/N\([0-9]\?\): *Scalar,/N\1: Scalar + Copy,/' $f; done
for f in $RELEVANT_SOURCEFILES; do sed -i 's/N\([0-9]\?\): *Scalar>/N\1: Scalar + Copy>/' $f; done
for f in algebra-glm/src/traits.rs; do sed -i 's/Scalar + Ring/Scalar + Copy + Ring>/' $f; done # Number trait definition
```
2020-03-02 12:45:37 +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
sebcrozet
381fdb642c
Remove useless extern crate in doc-tests.
2019-02-03 11:01:11 +01:00
sebcrozet
f36ff97d6a
Fix deprecation warnings.
2018-12-29 13:19:09 +01:00
MindSpunk
55b599e52c
updating changes for response to pull request
...
Removed the compile configs based on cargo features and updated docs
2018-12-29 11:30:53 +01:00
MindSpunk
21ecb5a370
perspective and orthographic functions and options
2018-12-29 11:30:53 +01:00
sebcrozet
911ddca588
Implement From<Vector> for Translation and Quaternion.
2018-11-01 11:07:36 +01:00
sebcrozet
14ad10a7e0
Add rustfmt.toml and run it.
2018-10-27 15:00:18 +02:00
sebcrozet
b9ca074740
Execute rustfmt.
2018-10-22 06:23:40 +02:00
Bruce Mitchener
924a9cd160
Capitalize Euler.
2018-10-16 18:29:09 +02:00
Bruce Mitchener
187fe9ca39
Start to cross-link vector contructors / conversions.
2018-10-09 08:31:38 +02:00
Bruce Mitchener
cb96cdb794
clippy: Prefer unwrap_or_else to unwrap_or.
2018-10-05 06:00:50 +02:00
Bruce Mitchener
ca9b4e38dd
Add more see-also content to glm docs.
2018-10-04 05:26:21 +02:00
sebcrozet
053d51989a
Re-export nalgebra's zero and one instead of defining new ones.
2018-09-23 17:10:49 +02:00
sebcrozet
b8b86e72b5
Various documentation fixes.
2018-09-23 17:10:49 +02:00
sebcrozet
4140375b6e
Rename the Mat and Vec aliases to TMat and TVec.
2018-09-23 17:10:49 +02:00
sebcrozet
975e0a8b6b
Add the TVec* and TMat* aliases.
2018-09-23 17:10:49 +02:00
sebcrozet
d5e747bd4a
Add more 2D transformation constructors.
2018-09-23 17:10:49 +02:00
sebcrozet
130885d83a
Add conversion functions between square matrices.
2018-09-23 17:10:49 +02:00
sebcrozet
cff8f398ba
Resolve all name conflicts.
2018-09-23 17:10:49 +02:00
sebcrozet
1b2fc74f33
Resolve some name conflicts.
2018-09-23 17:10:49 +02:00
sebcrozet
81745b5464
Add a quat_ perfix to all quaternion functions.
2018-09-23 17:10:49 +02:00
sebcrozet
5ebb1fa635
Fix typo.
2018-09-23 17:10:49 +02:00
sebcrozet
3e445430a4
Move files around and complete the doc.
2018-09-23 17:10:49 +02:00