From 814735dbe0bfe3a81cdbb78267e352f6ab7d030e Mon Sep 17 00:00:00 2001 From: fwcd Date: Sun, 17 Sep 2023 23:17:23 +0100 Subject: [PATCH] Mention `derive_more` --- src/game/cube_vec.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/cube_vec.rs b/src/game/cube_vec.rs index f6ecfb5..673fe42 100644 --- a/src/game/cube_vec.rs +++ b/src/game/cube_vec.rs @@ -8,6 +8,7 @@ use super::CubeDir; // We have a few options for that: // - Generic Vec2/Vec3 types, parameterized over marker types (Offset, Axial, Doubled, Cube, ... and Local, Global) // - Newtype wrappers around Vec2/Vec3 types +// - For those, we might consider using https://github.com/JelteF/derive_more to derive the operator traits /// A cube coordinate vector (or position). /// (see https://www.redblobgames.com/grids/hexagons/#coordinates-cube).