identity method

Matrix3 identity()

Set the current 3x3 matrix as an identity matrix.

Implementation

Matrix3 identity() {
  setValues(1, 0, 0, 0, 1, 0, 0, 0, 1);

  return this;
}