diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-26 16:32:06 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-26 16:32:06 +0100 |
| commit | 3a15922d2ffc041c3523edb479f008a9034fd400 (patch) | |
| tree | 988fe103c0752696c1fade2123142a8db5361ab7 /src/geom/linear.rs | |
| parent | 393d74f9bb0d4c71a69108d5be261103c39f47f3 (diff) | |
X/Y abstractions
Diffstat (limited to 'src/geom/linear.rs')
| -rw-r--r-- | src/geom/linear.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geom/linear.rs b/src/geom/linear.rs index 4a0def2f..77923c43 100644 --- a/src/geom/linear.rs +++ b/src/geom/linear.rs @@ -42,7 +42,7 @@ impl Linear { } /// Whether there is a linear component. - pub fn is_relative(&self) -> bool { + pub fn is_relative(self) -> bool { !self.rel.is_zero() } } |
