mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
changed to use rotation directly
as was previously written, this would not do anything as integer rotation is an identity.
This commit is contained in:
parent
a5f4673806
commit
8b206ba40c
|
@ -126,12 +126,10 @@ pub fn affine_matrix(
|
|||
rotation: u16,
|
||||
}
|
||||
|
||||
let rotation_for_input = (rotation as u16) << 8;
|
||||
|
||||
let input = Input {
|
||||
y_scale: x_scale.to_raw(),
|
||||
x_scale: y_scale.to_raw(),
|
||||
rotation: rotation_for_input,
|
||||
rotation: rotation as u16,
|
||||
};
|
||||
|
||||
unsafe {
|
||||
|
|
Loading…
Reference in a new issue