mirror of
https://github.com/italicsjenga/agb.git
synced 2025-02-23 22:58:18 +11:00
have objects be hidden by default
This commit is contained in:
parent
e8bc714d74
commit
eb352085f1
1 changed files with 4 additions and 2 deletions
|
@ -238,11 +238,13 @@ impl AffineMatrix<'_> {
|
||||||
|
|
||||||
impl ObjectAttribute {
|
impl ObjectAttribute {
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
ObjectAttribute {
|
let mut o = ObjectAttribute {
|
||||||
a0: 0,
|
a0: 0,
|
||||||
a1: 0,
|
a1: 0,
|
||||||
a2: 0,
|
a2: 0,
|
||||||
}
|
};
|
||||||
|
o.set_mode(Mode::Hidden);
|
||||||
|
o
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue