set affine to affine object

This commit is contained in:
Corwin Kuiper 2021-05-30 19:28:00 +01:00
parent 0202c51c77
commit 02de6af625

View file

@ -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 {