Skip to content

Commit

Permalink
Mention derive_more
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Sep 17, 2023
1 parent 65b0231 commit 814735d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/cube_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 814735d

Please sign in to comment.