Fix a few bitrotted user guide links
This commit is contained in:
parent
7eb5fd3ba6
commit
ceb30a68b8
|
@ -77,7 +77,7 @@ impl<T: RealField> Orthographic3<T> {
|
||||||
/// # use nalgebra::{Orthographic3, Point3};
|
/// # use nalgebra::{Orthographic3, Point3};
|
||||||
/// let proj = Orthographic3::new(1.0, 10.0, 2.0, 20.0, 0.1, 1000.0);
|
/// let proj = Orthographic3::new(1.0, 10.0, 2.0, 20.0, 0.1, 1000.0);
|
||||||
/// // Check this projection actually transforms the view cuboid into the double-unit cube.
|
/// // Check this projection actually transforms the view cuboid into the double-unit cube.
|
||||||
/// // See https://www.nalgebra.org/projections/#orthographic-projection for more details.
|
/// // See https://www.nalgebra.org/docs/user_guide/projections#orthographic-projection for more details.
|
||||||
/// let p1 = Point3::new(1.0, 2.0, -0.1);
|
/// let p1 = Point3::new(1.0, 2.0, -0.1);
|
||||||
/// let p2 = Point3::new(1.0, 2.0, -1000.0);
|
/// let p2 = Point3::new(1.0, 2.0, -1000.0);
|
||||||
/// let p3 = Point3::new(1.0, 20.0, -0.1);
|
/// let p3 = Point3::new(1.0, 20.0, -0.1);
|
||||||
|
|
|
@ -21,7 +21,7 @@ use crate::base::{Const, DefaultAllocator, OVector, Scalar};
|
||||||
|
|
||||||
/// A point in an euclidean space.
|
/// A point in an euclidean space.
|
||||||
///
|
///
|
||||||
/// The difference between a point and a vector is only semantic. See [the user guide](https://www.nalgebra.org/points_and_transformations/)
|
/// The difference between a point and a vector is only semantic. See [the user guide](https://www.nalgebra.org/docs/user_guide/points_and_transformations)
|
||||||
/// for details on the distinction. The most notable difference that vectors ignore translations.
|
/// for details on the distinction. The most notable difference that vectors ignore translations.
|
||||||
/// In particular, an [`Isometry2`](crate::Isometry2) or [`Isometry3`](crate::Isometry3) will
|
/// In particular, an [`Isometry2`](crate::Isometry2) or [`Isometry3`](crate::Isometry3) will
|
||||||
/// transform points by applying a rotation and a translation on them. However, these isometries
|
/// transform points by applying a rotation and a translation on them. However, these isometries
|
||||||
|
|
Loading…
Reference in New Issue