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 421 of file geometry.h.

421 {
422 mMin.x = MIN(mMin.x, x);
423 mMin.y = MIN(mMin.y, y);
424 mMax.x = MAX(mMax.x, x);
425 mMax.y = MAX(mMax.y, y);
426 }
#define MIN(a, b)
Definition math_macros.h:15
#define MAX(a, b)
Definition math_macros.h:11
vec2< T > mMax
Definition geometry.h:400
vec2< T > mMin
Definition geometry.h:399

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