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

Method compute_float

src/fl/gfx/xypath_renderer.cpp.hpp:17–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 : mPath(path), mTransform(transform) {}
16
17vec2f XYPathRenderer::compute_float(float alpha, const TransformFloat &tx) {
18 vec2f xy = mPath->compute(alpha);
19 vec2f out = tx.transform(xy);
20 out = mGridTransform.transform(out);
21 return out;
22}
23
24Tile2x2_u8 XYPathRenderer::at_subpixel(float alpha) {
25 // 1) continuous point, in “pixel‐centers” coordinates [0.5 … W–0.5]

Callers

nothing calls this directly

Calls 2

computeMethod · 0.45
transformMethod · 0.45

Tested by

no test coverage detected