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

Method is_identity

src/fl/math/transform.cpp.hpp:143–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143bool TransformFloatImpl::is_identity() const {
144 return (scale_x == 1.0f && scale_y == 1.0f && offset_x == 0.0f &&
145 offset_y == 0.0f && rotation == 0.0f);
146}
147
148Matrix3x3f TransformFloat::compile() const {
149 Matrix3x3f out;

Callers 1

NewCustomPathMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected