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

◆ at() [1/2]

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

Definition at line 234 of file slice.h.

234 {
235 auto parent = getParentCoord(x, y);
236 return mData[parent.x + parent.y * mDataWidth];
237 }
vec2< i32 > getParentCoord(i32 x_local, i32 y_local) const
Definition slice.h:213

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: