mirror of https://github.com/MLXXXp/Arduboy2.git
Make both collide functions static
This commit is contained in:
parent
1f86208163
commit
d5b4a45706
|
@ -1026,7 +1026,7 @@ class Arduboy2Base : public Arduboy2Core
|
||||||
*
|
*
|
||||||
* \see Point Rect
|
* \see Point Rect
|
||||||
*/
|
*/
|
||||||
bool collide(Point point, Rect rect);
|
static bool collide(Point point, Rect rect);
|
||||||
|
|
||||||
/** \brief
|
/** \brief
|
||||||
* Test if a rectangle is intersecting with another rectangle.
|
* Test if a rectangle is intersecting with another rectangle.
|
||||||
|
@ -1043,7 +1043,7 @@ class Arduboy2Base : public Arduboy2Core
|
||||||
*
|
*
|
||||||
* \see Rect
|
* \see Rect
|
||||||
*/
|
*/
|
||||||
bool collide(Rect rect1, Rect rect2);
|
static bool collide(Rect rect1, Rect rect2);
|
||||||
|
|
||||||
/** \brief
|
/** \brief
|
||||||
* Read the unit ID from system EEPROM.
|
* Read the unit ID from system EEPROM.
|
||||||
|
|
Loading…
Reference in New Issue