mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 01:21:34 +11:00
reimplement default
This commit is contained in:
parent
c02454ef16
commit
b43408e6e1
|
@ -152,6 +152,12 @@ impl AffineMatrix {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for AffineMatrix {
|
||||||
|
fn default() -> Self {
|
||||||
|
AffineMatrix::identity()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
|
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
|
||||||
#[repr(C, packed(4))]
|
#[repr(C, packed(4))]
|
||||||
/// An affine matrix that can be used in affine backgrounds
|
/// An affine matrix that can be used in affine backgrounds
|
||||||
|
|
Loading…
Reference in a new issue