diff --git a/src/transform3d.rs b/src/transform3d.rs index 92b814a..1489cac 100644 --- a/src/transform3d.rs +++ b/src/transform3d.rs @@ -431,7 +431,7 @@ where /// 1 0 0 0 /// 0 1 0 0 /// 0 0 1 -1/d - /// 0 0 0 1 + /// 0 0 0 0 /// ``` pub fn perspective(d: T) -> Self where @@ -444,7 +444,7 @@ where _1(), _0(), _0(), _0(), _0(), _1(), _0(), _0(), _0(), _0(), _1(), -_1() / d, - _0(), _0(), _0(), _1(), + _0(), _0(), _0(), _0(), ) } }