This PR implements two improvements, one general and one specific to dir_to_rotation:
Cache math functions into locals for faster access
Replace dir_to_rotation with a faster and more accurate version
This PR implements two improvements, one general and one specific to `dir_to_rotation`:
- Cache math functions into locals for faster access
- Replace dir_to_rotation with a faster and more accurate version
Permintaan tarik ini tidak bisa digabungkan secara otomatis karena ada konflik.
Silahkan bergabung secara manual untuk menyelesaikan konflik.
This PR implements two improvements, one general and one specific to
dir_to_rotation
: