setToIdentity method
Sets this transformation to be the identity transformation. The identity transformation has the matrix:
@return this transformation, with an updated matrix| 1 0 0 | | 0 1 0 | | 0 0 1 |
Implementation
AffineTransformation setToIdentity() {
m00 = 1.0;
m01 = 0.0;
m02 = 0.0;
m10 = 0.0;
m11 = 1.0;
m12 = 0.0;
return this;
}