Commit Graph

69 Commits

Author SHA1 Message Date
sebcrozet
80fc057ead Add doc-tests to rotation_construction. 2018-11-10 11:20:34 +01:00
sebcrozet
7d9d47d9ea Complete doc-tests of rotation.rs. 2018-11-10 11:20:34 +01:00
sebcrozet
c24caa311f Add some documentation for Rotation. 2018-11-10 11:20:34 +01:00
sebcrozet
a7acd5b832 Fix missing type annotation. 2018-11-01 11:07:36 +01:00
sebcrozet
2119c1adf5 Complete documentation for quaternions. 2018-11-01 11:07:36 +01:00
sebcrozet
911ddca588 Implement From<Vector> for Translation and Quaternion. 2018-11-01 11:07:36 +01:00
sebcrozet
96db8e564a Complete the documentation for Translation. 2018-11-01 11:07:36 +01:00
sebcrozet
1dd6bcce6a Add doc-tests to most of quaternion.rs. 2018-11-01 11:07:36 +01:00
sebcrozet
98b0b842e9 Remove the inherent clone method from points.
Fix #458.
2018-11-01 10:22:10 +01:00
sebcrozet
4ce6555b96 Add more point and quaternion documentation. 2018-10-27 15:00:18 +02:00
sebcrozet
b32a02f0ac Add doc-tests to point_construction.rs 2018-10-27 15:00:18 +02:00
sebcrozet
551c44c854 Implement From<Vector> for Point. 2018-10-27 15:00:18 +02:00
sebcrozet
6d63a0a5f1 Add doc-tests to isometry_construction.rs 2018-10-27 15:00:18 +02:00
sebcrozet
a512e16868 Add doc-tests to isometry.rs. 2018-10-27 15:00:18 +02:00
sebcrozet
14ad10a7e0 Add rustfmt.toml and run it. 2018-10-27 15:00:18 +02:00
sebcrozet
5ea612ef96 Remove mention to the eye and target on the unit quaternion look_at_* methods. 2018-10-27 15:00:18 +02:00
sebcrozet
9e2541f949 Add a Point::from_slice 2018-10-13 13:13:48 +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
c7c156a6a0 Use other keywords for isometry documentations.
Fix #419.
2018-10-06 07:27:40 +02:00
sebcrozet
f218186ec0 Add Rotation * Unit<Vector> 2018-09-24 22:05:15 +02:00
Bruce Mitchener
175c41ed3a Typo fixes. 2018-09-24 21:15:07 +02:00
sebcrozet
38c7ed3a11 Add methods to see a Perspective3 or Orthographic3 as a Projective3. 2018-09-22 16:15:11 +02:00
sebcrozet
7884f20ea7 Add quaternion dot product. 2018-09-22 16:15:11 +02:00
sebcrozet
832bf42b56 Add slerp for unit vectors. 2018-09-22 16:15:11 +02:00
Jacob Kiesel
787d20cff4 Add magnitude synonym functions for ease of use 2018-09-21 18:28:44 +02:00
sebcrozet
08685122ea Fix projective * point multiplication.
The scaling did not occur at the right time.
2018-09-20 20:59:01 +02:00
sebcrozet
b272f3ba76 Fix compilation errors when the serde-serialize feature is enabled.
Fix #369.
2018-09-13 07:49:38 +02:00
sebcrozet
378b39db9c Update impls of abomonation. 2018-07-20 16:33:59 +02:00
sebcrozet
3b19b6553e Update dependencies. 2018-07-20 16:33:59 +02:00
Benjamin Saunders
aad94661c9 Document distribution uniformity, fix Rotation2 distribution
Also tweak UnitComplex distribution for consistency
2018-07-10 20:17:52 +02:00
Benjamin Saunders
352e71656d Uniformly distributed random rotations, unit vectors 2018-07-10 20:17:52 +02:00
sebcrozet
3eaa65c9cf Minor doc fixes. 2018-07-07 17:37:15 +02:00
Simon Heath
ba5bc77262 Removes DefaultAllocatorBound from mint::Point conversions 2018-06-09 00:36:19 +02:00
Simon Heath
491903e1de Replace mem::transmute() with pointer casts
And fix erroneous #[cfg]
2018-06-09 00:36:19 +02:00
Simon Heath
a3c4dbca95 Adds conversions to and from mint Point types. 2018-06-09 00:36:19 +02:00
sebcrozet
3ee13ec528 Update changelog. 2018-05-27 12:25:58 +02:00
Shane Pearman
2814e09d31 Add from array impl for points. 2018-05-27 12:23:54 +02:00
sebcrozet
a51744f86b Update to rand 0.5. 2018-05-26 22:07:57 +02:00
sebcrozet
ca093fad29 Move core/* to base/* + add conditional compilation to dynamics matrices when no_std is enabled. 2018-05-26 22:07:57 +02:00
sebcrozet
88055dfc45 Update to approx 0.2. 2018-05-26 22:07:57 +02:00
sebcrozet
fefba2ef4e Fix conflicting impls for isometry multiplication. 2018-05-06 23:44:57 +02:00
Sébastien Crozet
7357d17b77 Fix typos. 2018-05-06 23:31:36 +02:00
Sébastien Crozet
31e3547401 Add UnitQuaternion::{new_eps, from_scaled_axis_eps}. 2018-05-06 23:31:36 +02:00
Sébastien Crozet
1ac8bbd3d1 Add .axis_angle to UnitComplex and UnitQuaternion + .rotation_between_axis to UnitComplex. 2018-03-08 17:30:59 +01:00
Sébastien Crozet
84a01a720d Fix unnecessary parenthesis. 2018-02-03 13:59:05 +01:00
Sébastien Crozet
662cc9cd7f Run rust fmt. 2018-02-03 13:59:05 +01:00
Sébastien Crozet
6d4bfc3b79 Fix warnings. 2018-02-03 13:59:05 +01:00
Sébastien Crozet
3dc76caf7e Add Isometry × Unit<Vector>.
Fix #285.
2018-02-03 13:59:05 +01:00
Sébastien Crozet
52598de44c Add rotation_between_axis/scaled_rotation_between_axis. 2018-02-03 13:59:05 +01:00
Sébastien Crozet
94c1ab8e7b Add matrix slice construction from array slices. 2018-02-03 13:59:05 +01:00