From ceb30a68b8c6adf7b1531f66b7310a5e5016bbd3 Mon Sep 17 00:00:00 2001 From: CAD97 Date: Fri, 23 Jul 2021 21:22:59 -0500 Subject: [PATCH] Fix a few bitrotted user guide links --- src/geometry/orthographic.rs | 2 +- src/geometry/point.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/geometry/orthographic.rs b/src/geometry/orthographic.rs index e9546cdd..3b73d944 100644 --- a/src/geometry/orthographic.rs +++ b/src/geometry/orthographic.rs @@ -77,7 +77,7 @@ impl Orthographic3 { /// # use nalgebra::{Orthographic3, Point3}; /// 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. - /// // 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 p2 = Point3::new(1.0, 2.0, -1000.0); /// let p3 = Point3::new(1.0, 20.0, -0.1); diff --git a/src/geometry/point.rs b/src/geometry/point.rs index d4d9dbfc..faf4f48f 100644 --- a/src/geometry/point.rs +++ b/src/geometry/point.rs @@ -21,7 +21,7 @@ use crate::base::{Const, DefaultAllocator, OVector, Scalar}; /// 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. /// 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