diff --git a/agb/src/display/affine.rs b/agb/src/display/affine.rs index 921d460d..bdccd6e4 100644 --- a/agb/src/display/affine.rs +++ b/agb/src/display/affine.rs @@ -91,12 +91,12 @@ type AffineMatrixElement = Num; /// An affine matrix stored in a way that is efficient for the GBA to perform /// operations on. This implements multiplication. pub struct AffineMatrix { - a: AffineMatrixElement, - b: AffineMatrixElement, - c: AffineMatrixElement, - d: AffineMatrixElement, - x: AffineMatrixElement, - y: AffineMatrixElement, + pub a: AffineMatrixElement, + pub b: AffineMatrixElement, + pub c: AffineMatrixElement, + pub d: AffineMatrixElement, + pub x: AffineMatrixElement, + pub y: AffineMatrixElement, } #[derive(Debug, Clone, Copy, PartialEq, Eq)] @@ -319,10 +319,10 @@ impl From for AffineMatrix { #[repr(C, packed(4))] /// An affine matrix that can be used in affine objects pub struct AffineMatrixObject { - a: Num, - b: Num, - c: Num, - d: Num, + pub a: Num, + pub b: Num, + pub c: Num, + pub d: Num, } impl Default for AffineMatrixObject {