mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +11:00
give access to underlying coordinates
This commit is contained in:
parent
161a429320
commit
77f6512ba9
|
@ -454,8 +454,8 @@ impl<I: FixedWidthUnsignedInteger, const N: usize> Debug for Num<I, N> {
|
|||
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
|
||||
pub struct Vector2D<T: Number> {
|
||||
x: T,
|
||||
y: T,
|
||||
pub x: T,
|
||||
pub y: T,
|
||||
}
|
||||
|
||||
impl<T: Number> Add<Vector2D<T>> for Vector2D<T> {
|
||||
|
|
Loading…
Reference in a new issue