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

◆ at_exact()

vec2f fl::Corkscrew::at_exact ( uint16_t i) const

Definition at line 74 of file corkscrew.cpp.

74 {
75 if (i >= mState.mapping.size()) {
76 // Handle out-of-bounds access, possibly by returning a default value
77 return vec2f(0, 0);
78 }
79 // Convert the float position to integer
80 const vec2f &position = mState.mapping[i];
81 return position;
82}
vec2< float > vec2f
Definition geometry.h:318

References mState.