diff --git a/src/lib.rs b/src/lib.rs index f3cb8c71..1edaa167 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -189,6 +189,12 @@ pub fn zero>() -> T { /// /// * [`one`](fn.one.html) /// * [`zero`](fn.zero.html) +/// +/// # Deprecated +/// Use [Point::origin] instead. +/// +/// Or, use [EuclideanSpace::origin](https://docs.rs/alga/0.7.2/alga/linear/trait.EuclideanSpace.html#tymethod.origin). +#[deprecated(note = "use `Point::origin` instead")] #[inline] pub fn origin() -> P { P::origin()