diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/point.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/point.rs b/core/src/point.rs index a31bf967..3714aa2f 100644 --- a/core/src/point.rs +++ b/core/src/point.rs @@ -1,7 +1,7 @@ use crate::Vector; /// A 2D point. -#[derive(Debug, Clone, Copy, PartialEq)] +#[derive(Debug, Clone, Copy, PartialEq, Default)] pub struct Point { /// The X coordinate. pub x: f32, |