From 25932d4adb05a4d0d641a06802b99e0ceaae5cc4 Mon Sep 17 00:00:00 2001 From: Pharap <2933055+Pharap@users.noreply.github.com> Date: Tue, 10 Jul 2018 16:41:23 +0100 Subject: [PATCH] Make both collide functions static --- src/Arduboy2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Arduboy2.h b/src/Arduboy2.h index 735e592..a569a6b 100644 --- a/src/Arduboy2.h +++ b/src/Arduboy2.h @@ -1027,7 +1027,7 @@ class Arduboy2Base : public Arduboy2Core * * \see Point Rect */ - bool collide(Point point, Rect rect); + static bool collide(Point point, Rect rect); /** \brief * Test if a rectangle is intersecting with another rectangle. @@ -1044,7 +1044,7 @@ class Arduboy2Base : public Arduboy2Core * * \see Rect */ - bool collide(Rect rect1, Rect rect2); + static bool collide(Rect rect1, Rect rect2); /** \brief * Read the unit ID from system EEPROM.