Elements used in the Balls and Things games for the RETRO.
Dependents: RETRO_BallsAndPaddle RETRO_BallAndHoles
Diff: Shapes.h
- Revision:
- 8:19dd2a538cbe
- Parent:
- 4:f421e34313d3
--- a/Shapes.h Mon Mar 02 09:04:13 2015 +0000 +++ b/Shapes.h Mon Mar 02 09:58:53 2015 +0000 @@ -1,9 +1,10 @@ #pragma once +#include <algorithm> // required for min() and max(), see http://www.cplusplus.com/reference/algorithm/ #include "mbed.h" #include "Vector.h" -#define MAX(x, y) (((x) > (y)) ? (x) : (y)) -#define MIN(x, y) (((x) < (y)) ? (x) : (y)) +//#define MAX(x, y) (((x) > (y)) ? (x) : (y)) +//#define MIN(x, y) (((x) < (y)) ? (x) : (y)) class Point {