identity method

Matrix2 identity()

Set the current 3x3 matrix as an identity matrix.

Implementation

Matrix2 identity() {
  setValues(1, 0, 0, 1);
  return this;
}