63 float getf(fl::size
x)
const;
80 u16 v2 =
static_cast<u16
>(
value);
82 return static_cast<u8>(v2 >> 8);
84 return static_cast<u8>(
85 ((
static_cast<u16
>(
value) + 32768)) >> 8);
90 bool has(fl::size
x)
const;
183 u16 v2 =
static_cast<u16
>(
value);
185 return static_cast<u8>(v2 >> 8);
187 return static_cast<u8>(
188 ((
static_cast<u16
>(
value) + 32768)) >> 8);
202 bool has(fl::size
x, fl::size
y)
const;
i16 geti16(fl::size x) const
WaveSimulation1D_Real(u32 length, float speed=0.16f, int dampening=6) FL_NOEXCEPT
i16 geti16Previous(fl::size x) const
void set(fl::size x, float value)
void setDampening(int damp) FL_NOEXCEPT
bool has(fl::size x) const
i8 geti8(fl::size x) const
int getDampenening() const
~WaveSimulation1D_Real() FL_NOEXCEPT=default
void setHalfDuplex(bool on)
u8 getu8(fl::size x) const
void setSpeed(float something)
bool getHalfDuplex() const
float getf(fl::size x) const
bool getHalfDuplex() const
void setf(fl::size x, fl::size y, float value)
LaplacianStencil getStencil() const FL_NOEXCEPT
i16 geti16Previous(fl::size x, fl::size y) const
~WaveSimulation2D_Real() FL_NOEXCEPT=default
u8 getu8(fl::size x, fl::size y) const
i8 geti8(fl::size x, fl::size y) const
void setHalfDuplex(bool on)
i16 geti16(fl::size x, fl::size y) const
void setStencil(LaplacianStencil s) FL_NOEXCEPT
fl::vector_psram< i16 > grid1
int getDampenening() const
WaveSimulation2D_Real(u32 W, u32 H, float speed=0.16f, float dampening=6.0f) FL_NOEXCEPT
void setSpeed(float something)
LaplacianStencil mStencil
void setXCylindrical(bool on)
float getf(fl::size x, fl::size y) const
void seti16(fl::size x, fl::size y, i16 value)
bool has(fl::size x, fl::size y) const
fl::vector_psram< i16 > grid2
void setDampening(int damp) FL_NOEXCEPT
fl::UISlider dampening("Dampening", 6.0f, 0.0f, 10.0f, 0.1f)
i16 float_to_fixed(float f)
i16 compute_damp_decay_q15(int damp) FL_NOEXCEPT
float fixed_to_float(i16 f)
constexpr int type_rank< T >::value
Base definition for an LED controller.