function multiply(matrix1, matrix2) {
  var a00 = matrix1[0 * 3 + 0];
  var a01 = matrix1[0 * 3 + 1];
  var a02 = matrix1[0 * 3 + 2];
  var a10 = matrix1[1 * 3 + 0];
  var a11 = matrix1[1 * 3 + 1];
  var a12 = matrix1[1 * 3 + 2];
  var a20 = matrix1[2 * 3 + 0];
  var a21 = matrix1[2 * 3 + 1];
  var a22 = matrix1[2 * 3 + 2];
  var b00 = matrix2[0 * 3 + 0];
  var b01 = matrix2[0 * 3 + 1];
  var b02 = matrix2[0 * 3 + 2];
  var b10 = matrix2[1 * 3 + 0];
  var b11 = matrix2[1 * 3 + 1];
  var b12 = matrix2[1 * 3 + 2];
  var b20 = matrix2[2 * 3 + 0];
  var b21 = matrix2[2 * 3 + 1];
  var b22 = matrix2[2 * 3 + 2];
  return [b00 * a00 + b01 * a10 + b02 * a20, b00 * a01 + b01 * a11 + b02 * a21, b00 * a02 + b01 * a12 + b02 * a22, b10 * a00 + b11 * a10 + b12 * a20, b10 * a01 + b11 * a11 + b12 * a21, b10 * a02 + b11 * a12 + b12 * a22, b20 * a00 + b21 * a10 + b22 * a20, b20 * a01 + b21 * a11 + b22 * a21, b20 * a02 + b21 * a12 + b22 * a22];
}
/**
 * Returns multiply of two matrixes.
 */
Returns multiply of two matrixes.
Returns multiply of two matrixes .
function multiply(matrix1, matrix2) {
  var a00 = matrix1[0 * 3 + 0];
  var a01 = matrix1[0 * 3 + 1];
  var a02 = matrix1[0 * 3 + 2];
  var a10 = matrix1[1 * 3 + 0];
  var a11 = matrix1[1 * 3 + 1];
  var a12 = matrix1[1 * 3 + 2];
  var a20 = matrix1[2 * 3 + 0];
  var a21 = matrix1[2 * 3 + 1];
  var a22 = matrix1[2 * 3 + 2];
  var b00 = matrix2[0 * 3 + 0];
  var b01 = matrix2[0 * 3 + 1];
  var b02 = matrix2[0 * 3 + 2];
  var b10 = matrix2[1 * 3 + 0];
  var b11 = matrix2[1 * 3 + 1];
  var b12 = matrix2[1 * 3 + 2];
  var b20 = matrix2[2 * 3 + 0];
  var b21 = matrix2[2 * 3 + 1];
  var b22 = matrix2[2 * 3 + 2];
  return [b00 * a00 + b01 * a10 + b02 * a20, b00 * a01 + b01 * a11 + b02 * a21, b00 * a02 + b01 * a12 + b02 * a22, b10 * a00 + b11 * a10 + b12 * a20, b10 * a01 + b11 * a11 + b12 * a21, b10 * a02 + b11 * a12 + b12 * a22, b20 * a00 + b21 * a10 + b22 * a20, b20 * a01 + b21 * a11 + b22 * a21, b20 * a02 + b21 * a12 + b22 * a22];
}
function multiply ( matrix1 , matrix2 ) { var a00 = matrix1 [ 0 * 3 + 0 ] ; var a01 = matrix1 [ 0 * 3 + 1 ] ; var a02 = matrix1 [ 0 * 3 + 2 ] ; var a10 = matrix1 [ 1 * 3 + 0 ] ; var a11 = matrix1 [ 1 * 3 + 1 ] ; var a12 = matrix1 [ 1 * 3 + 2 ] ; var a20 = matrix1 [ 2 * 3 + 0 ] ; var a21 = matrix1 [ 2 * 3 + 1 ] ; var a22 = matrix1 [ 2 * 3 + 2 ] ; var b00 = matrix2 [ 0 * 3 + 0 ] ; var b01 = matrix2 [ 0 * 3 + 1 ] ; var b02 = matrix2 [ 0 * 3 + 2 ] ; var b10 = matrix2 [ 1 * 3 + 0 ] ; var b11 = matrix2 [ 1 * 3 + 1 ] ; var b12 = matrix2 [ 1 * 3 + 2 ] ; var b20 = matrix2 [ 2 * 3 + 0 ] ; var b21 = matrix2 [ 2 * 3 + 1 ] ; var b22 = matrix2 [ 2 * 3 + 2 ] ; return [ b00 * a00 + b01 * a10 + b02 * a20 , b00 * a01 + b01 * a11 + b02 * a21 , b00 * a02 + b01 * a12 + b02 * a22 , b10 * a00 + b11 * a10 + b12 * a20 , b10 * a01 + b11 * a11 + b12 * a21 , b10 * a02 + b11 * a12 + b12 * a22 , b20 * a00 + b21 * a10 + b22 * a20 , b20 * a01 + b21 * a11 + b22 * a21 , b20 * a02 + b21 * a12 + b22 * a22 ] ; }
Returns multiply of two matrixes.
Returns multiply of two matrixes .