|
Lamp-Da 0.1
A compact lantern project
|
Drop mode policy: remove only "orphan" particles A particle can only be dropped if there is no other particle directly below it (z-axis). More...
#include <fadeout.hpp>
Static Public Member Functions | |
| template<typename ContextType > | |
| static bool | has_pixel_below (ContextType &ctx, const etl::bitset< LampTy::ledCount > &maskedLeds, uint16_t x, int16_t y) |
| Check if a pixel at (x, y) has a pixel below it. | |
| template<typename ContextType > | |
| static bool | depop_one (ContextType &ctx, const etl::bitset< LampTy::ledCount > &maskedLeds, uint32_t &pixelId) |
Drop mode policy: remove only "orphan" particles A particle can only be dropped if there is no other particle directly below it (z-axis).