1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-01-17 04:48:57 +01:00

#368 GBA matrix rotation optimization

This commit is contained in:
XProger 2022-12-01 16:07:39 +03:00
parent 329e69fcfb
commit b70eadecef

View File

@ -12,8 +12,8 @@
mul \t, \y, \cos
mla \t, \x, \sin, \t
mul \x, \cos, \x
rsb \y, \y, #0
mla \x, \y, \sin, \x
mul \y, \sin, \y
sub \x, \y
mov \y, \t, asr #FIXED_SHIFT
mov \x, \x, asr #FIXED_SHIFT
.endm