mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 01:21:34 +11:00
set affine to affine object
This commit is contained in:
parent
0202c51c77
commit
02de6af625
|
@ -88,6 +88,9 @@ impl ObjectAffine {
|
|||
pub fn hide(&mut self) {
|
||||
self.attributes.set_mode(Mode::Hidden)
|
||||
}
|
||||
pub fn set_affine_mat(&mut self, aff: &AffineMatrix) {
|
||||
self.attributes.set_affine(aff.id);
|
||||
}
|
||||
}
|
||||
|
||||
fn set_bits(current: u16, value: u16, length: u16, shift: u16) -> u16 {
|
||||
|
|
Loading…
Reference in a new issue