From 58ca28d4b21667e9b86939ad574f477e02f2b290 Mon Sep 17 00:00:00 2001 From: Arne Dußin Date: Tue, 24 Nov 2020 13:16:47 +0100 Subject: Add unstable polygon room tool --- src/math/polygon/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/polygon') diff --git a/src/math/polygon/mod.rs b/src/math/polygon/mod.rs index f84211d..90d46bb 100644 --- a/src/math/polygon/mod.rs +++ b/src/math/polygon/mod.rs @@ -13,7 +13,7 @@ use num_traits::Zero; use serde::{Deserialize, Serialize}; use std::ops::Neg; -#[derive(Debug, Deserialize, Serialize)] +#[derive(Clone, Debug, Deserialize, Serialize)] // TODO: Support polygons with holes pub struct Polygon { corners: Vec>, -- cgit v1.2.3-70-g09d2