summaryrefslogtreecommitdiff
path: root/src/math.rs
diff options
context:
space:
mode:
authortom barrett <spalf0@gmail.com>2019-02-17 07:53:57 -0600
committertom barrett <spalf0@gmail.com>2019-02-17 07:53:57 -0600
commit892088d723fd3dc0aae969273331c2765f322e6f (patch)
tree1774b6c74e03c501d7b318406b05d53608d2f20d /src/math.rs
parentca26d538085704d3278063715a14308eeed70127 (diff)
gave engines a max acceleration
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,