Make both collide functions static

This commit is contained in:
Pharap 2018-07-10 16:41:23 +01:00 committed by GitHub
parent 2427e7c86b
commit 25932d4adb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1027,7 +1027,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.
@ -1044,7 +1044,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.