setIdentity static method

void setIdentity(
  1. Mat2D mat
)

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;
}