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

◆ at() [2/2]

template<typename T>
T & fl::MatrixSlice< T >::at ( i32 x,
i32 y )
inline

Definition at line 619 of file span.h.

619 {
620 auto parent = getParentCoord(x, y);
621 return mData[parent.x + parent.y * mDataWidth];
622 }
i32 mDataWidth
Definition span.h:631
vec2< i32 > getParentCoord(i32 x_local, i32 y_local) const FL_NOEXCEPT
Definition span.h:598

References FL_NOEXCEPT, getParentCoord(), mData, mDataWidth, fl::x, and fl::y.

Referenced by operator()().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: