resetIdentityMatrix static method

void resetIdentityMatrix(
  1. List<double> matrix
)

Implementation

static void resetIdentityMatrix(List<double> matrix) {
  matrix[1] = matrix[2] = matrix[3] = matrix[4] = matrix[6] = matrix[7] =
      matrix[8] =
          matrix[9] = matrix[11] = matrix[12] = matrix[13] = matrix[14] = 0;
  matrix[0] = matrix[5] = matrix[10] = matrix[15] = 1;
}