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

446 {
447 mMin.x = MIN(mMin.x, x);
448 mMin.y = MIN(mMin.y, y);
449 mMax.x = MAX(mMax.x, x);
450 mMax.y = MAX(mMax.y, y);
451 }
#define MIN(a, b)
Definition math_macros.h:41
#define MAX(a, b)
Definition math_macros.h:37
vec2< T > mMax
Definition geometry.h:420
vec2< T > mMin
Definition geometry.h:419

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