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

◆ transform()

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

Definition at line 76 of file transform.h.

76 {
77 vec2<float> out;
78 out.x = m[0][0] * xy.x + m[0][1] * xy.y + m[0][2];
79 out.y = m[1][0] * xy.x + m[1][1] * xy.y + m[1][2];
80 return out;
81 }
unsigned int xy(unsigned int x, unsigned int y)
float m[3][3]
Definition transform.h:82

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

+ Here is the call graph for this function: