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

◆ idx()

int fl::FlowFieldFloat::idx ( int y,
int x ) const
inlineprivate

Definition at line 323 of file flowfield.h.

323 {
324 return y * (int)getWidth() + x;
325 }
u16 getWidth() const
Definition fx2d.h:24

References fl::Fx2d::getWidth(), fl::x, and fl::y.

Referenced by drawAALine(), drawDot(), drawImpl(), and flowAdvect().

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