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