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 134 of file xypath.cpp.

134 {
135 LinePathParamsPtr p = LinePathParamsPtr::New();
136 auto &params = *p;
137 params.x0 = x0;
138 params.y0 = y0;
139 params.x1 = x1;
140 params.y1 = y1;
141 auto path = LinePathPtr::New(p);
142 return XYPathPtr::New(path);
143}
static FASTLED_NAMESPACE_BEGIN uint8_t const p[]
Definition noise.cpp:30

References p.