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

◆ is_identity()

bool fl::TransformFloatImpl::is_identity ( ) const

Definition at line 142 of file transform.cpp.

142 {
143 return (scale_x == 1.0f && scale_y == 1.0f && offset_x == 0.0f &&
144 offset_y == 0.0f && rotation == 0.0f);
145}

References offset_x, offset_y, rotation, scale_x, and scale_y.

Referenced by transform().

+ Here is the caller graph for this function: