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

◆ at() [2/2]

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

Definition at line 187 of file slice.h.

187 {
188 auto parent = getParentCoord(x, y);
189 return mData[parent.x + parent.y * mDataWidth];
190 }
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.

+ Here is the call graph for this function: