FastLED 3.9.15
Loading...
Searching...
No Matches

◆ NewLinePath() [2/2]

XYPathPtr fl::XYPath::NewLinePath ( float x0,
float y0,
float x1,
float y1 )
static

Definition at line 146 of file xypath.cpp.

146 {
147 LinePathParamsPtr p = LinePathParamsPtr::New();
148 auto &params = *p;
149 params.x0 = x0;
150 params.y0 = y0;
151 params.x1 = x1;
152 params.y1 = y1;
153 auto path = LinePathPtr::New(p);
154 return XYPathPtr::New(path);
155}
static FASTLED_NAMESPACE_BEGIN uint8_t const p[]
Definition noise.cpp:30

References p.