CCAffineTransform - AffineTransform - 仿射变换
[ x'] [ m00 m01 m02 ] [ x ] [ m00x + m01y + m02 ]
[ y'] = [ m10 m11 m12 ] [ y ] = [ m10x + m11y + m12 ]
[ 1 ] [ 0 0 1 ] [ 1 ] [ 1 ]
struct CCAffineTransform {
float a, b, c, d;
float tx, ty;
};
this.m00 = m00;
this.m10 = m10;
this.m01 = m01;
this.m11 = m11;
this.m02 = m02;
this.m12 = m12;
[this] = [this] x [Tx]
[this] = [Tx] x [this]