FastLED 3.9.15
Loading...
Searching...
No Matches

◆ expand() [3/3]

template<typename T>
void fl::rect< T >::expand ( T x,
T y )
inline

Definition at line 249 of file geometry.h.

249 {
250 mMin.x = MIN(mMin.x, x);
251 mMin.y = MIN(mMin.y, y);
252 mMax.x = MAX(mMax.x, x);
253 mMax.y = MAX(mMax.y, y);
254 }
#define MIN(a, b)
Definition math_macros.h:15
#define MAX(a, b)
Definition math_macros.h:11
vec2< T > mMax
Definition geometry.h:228
vec2< T > mMin
Definition geometry.h:227

References MAX, MIN, mMax, mMin, x, and y.