diff --git a/Cargo.toml b/Cargo.toml index 0f78547..59bf5b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "euclid" -version = "0.22.0" +version = "0.22.1" authors = ["The Servo Project Developers"] edition = "2018" description = "Geometry primitives" diff --git a/src/transform3d.rs b/src/transform3d.rs index 92b814a..2907fd5 100644 --- a/src/transform3d.rs +++ b/src/transform3d.rs @@ -425,7 +425,7 @@ where ) } - /// Create a simple perspective projection transform: + /// Create a simple perspective transform, projecting to the plane `z = -d`. /// /// ```text /// 1 0 0 0 @@ -433,6 +433,8 @@ where /// 0 0 1 -1/d /// 0 0 0 1 /// ``` + /// + /// See . pub fn perspective(d: T) -> Self where T: Neg + Div,