setIdentity static method
Implementation
static void setIdentity(Mat2D mat) {
mat[0] = 1.0;
mat[1] = 0.0;
mat[2] = 0.0;
mat[3] = 1.0;
mat[4] = 0.0;
mat[5] = 0.0;
}
static void setIdentity(Mat2D mat) {
mat[0] = 1.0;
mat[1] = 0.0;
mat[2] = 0.0;
mat[3] = 1.0;
mat[4] = 0.0;
mat[5] = 0.0;
}