mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-05 05:04:27 -04:00
Create optimised integer functions to reduce CPU usage
(cherry picked from commit a47bfe1da7bffe9f752e4c522e11593cce6dffd0)
This commit is contained in:
parent
b549d3a4f1
commit
567fee1d98
4 changed files with 85 additions and 0 deletions
|
@ -343,6 +343,8 @@ struct TouchEvent {
|
|||
|
||||
Point polar_to_point(float angle, uint32_t distance);
|
||||
|
||||
Point fast_polar_to_point(int32_t angle, uint32_t distance);
|
||||
|
||||
} /* namespace ui */
|
||||
|
||||
#endif/*__UI_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue