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

◆ at() [1/2]

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

Definition at line 624 of file span.h.

624 {
625 auto parent = getParentCoord(x, y);
626 return mData[parent.x + parent.y * mDataWidth];
627 }
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.

+ Here is the call graph for this function: