Definition at line 231 of file perlin_particle_punch.cpp.hpp.
231 {
232 s16x16 sin_val, cos_val;
238
243 constexpr s16x16 one(1.0f);
244 if (tmp > one)
245 tmp = one;
246 tmp = tmp * tmp;
247 tmp = tmp * tmp;
248 tmp = tmp * s16x16(255);
249 return tmp;
250}
static constexpr i32 SCALE
static FASTLED_FORCE_INLINE void sincos(s16x16 angle, s16x16 &out_sin, s16x16 &out_cos) FL_NOEXCEPT
static constexpr int FRAC_BITS
static constexpr FASTLED_FORCE_INLINE s16x16 from_raw(i32 raw) FL_NOEXCEPT
fl::u16 inoise16(fl::u32 x, fl::u32 y, fl::u32 z, fl::u32 t)
References fl::s16x16::FRAC_BITS, fl::s16x16::from_raw(), inoise16(), mTimeMultiplier, fl::s16x16::raw(), fl::s16x16::SCALE, fl::s16x16::sincos(), fl::x, fl::y, and z.
Referenced by noiseCircleDraw().