From 77f6512ba9e1eca3d4927cfd64b116c38f04c7da Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Tue, 8 Jun 2021 12:25:10 +0100 Subject: [PATCH] give access to underlying coordinates --- agb/src/number.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agb/src/number.rs b/agb/src/number.rs index 226eea1a..86581a25 100644 --- a/agb/src/number.rs +++ b/agb/src/number.rs @@ -454,8 +454,8 @@ impl Debug for Num { #[derive(Clone, Copy, PartialEq, Eq, Debug)] pub struct Vector2D { - x: T, - y: T, + pub x: T, + pub y: T, } impl Add> for Vector2D {