MCPcopy Create free account
hub / github.com/FastLED/FastLED / has

Method has

src/fl/math/wave/wave_simulation.cpp.hpp:156–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156bool WaveSimulation2D::has(fl::size x, fl::size y) const {
157 return (x < mOuterWidth) && (y < mOuterHeight);
158}
159
160void WaveSimulation2D::seti16(fl::size x, fl::size y, i16 v16) {
161 if (!has(x, y))

Callers 1

seti16Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected