FastLED 3.10.6
Loading...
Searching...
No Matches

◆ at() [2/2]

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

Definition at line 644 of file span.h.

644 {
645 auto parent = getParentCoord(x, y);
646 return mData[parent.x + parent.y * mDataWidth];
647 }
vec2< i32 > getParentCoord(i32 x_local, i32 y_local) const FL_NO_EXCEPT
Definition span.h:623
i32 mDataWidth
Definition span.h:656

References fl::FL_NO_EXCEPT, 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: