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

◆ at() [1/2]

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

Definition at line 182 of file slice.h.

182 {
183 auto parent = getParentCoord(x, y);
184 return mData[parent.x + parent.y * mDataWidth];
185 }
int32_t mDataWidth
Definition slice.h:194
vec2< int32_t > getParentCoord(int32_t x_local, int32_t y_local) const
Definition slice.h:161

References getParentCoord(), mData, mDataWidth, x, and y.

Referenced by operator()().

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