mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
remove lifetime specifier
This commit is contained in:
parent
7595c938c9
commit
2a9788d26f
|
@ -153,7 +153,7 @@ impl<'a> ObjectAffine<'a> {
|
||||||
}
|
}
|
||||||
/// Sets the affine matrix to use. Changing the affine matrix will change
|
/// Sets the affine matrix to use. Changing the affine matrix will change
|
||||||
/// how the sprite is rendered.
|
/// how the sprite is rendered.
|
||||||
pub fn set_affine_mat(&mut self, aff: &'a AffineMatrix) {
|
pub fn set_affine_mat(&mut self, aff: &AffineMatrix) {
|
||||||
self.attributes.set_affine(aff.loan.index);
|
self.attributes.set_affine(aff.loan.index);
|
||||||
self.aff_id = Some(aff.loan.index);
|
self.aff_id = Some(aff.loan.index);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue