summaryrefslogtreecommitdiff
path: root/src/math.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/math.rs')
-rw-r--r--src/math.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math.rs b/src/math.rs
index 99839df..9a9f7b8 100644
--- a/src/math.rs
+++ b/src/math.rs
@@ -11,7 +11,7 @@ pub fn rand_name() -> String {
.collect()
}
-#[derive(Serialize, Deserialize, Debug, Clone, Default)]
+#[derive(Serialize, Deserialize, Debug, Clone, Default, PartialEq)]
pub struct Vector {
pub x: f64,
pub y: f64,