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

◆ transform()

vec2< float > fl::Matrix3x3f::transform ( const vec2< float > & xy) const
inline

Definition at line 89 of file transform.h.

89 {
90 vec2<float> out;
91 out.x = m[0][0] * xy.x + m[0][1] * xy.y + m[0][2];
92 out.y = m[1][0] * xy.x + m[1][1] * xy.y + m[1][2];
93 return out;
94 }
unsigned int xy(unsigned int x, unsigned int y)
float m[3][3]
Definition transform.h:95

References m, fl::vec2< T >::x, xy(), and fl::vec2< T >::y.

+ Here is the call graph for this function: