B2G/gecko/browser/devtools/tilt/TiltMath.jsm
/**
   * Returns a string representation of a 4x4 matrix.
   *
   * @param {Array} aMat
   *                mat4 to represent as a string
   *
   * @return {String} representation of the matrix
   */
Returns a string representation of a 4x4 matrix.
@param {Array} aMat
mat4 to represent as a string

@return {String} representation of the matrix
Returns a string representation of a 4x4 matrix . @param { Array } aMat mat4 to represent as a string @return { String } representation of the matrix
function M4_str(mat)
  {
    return "[" + mat[0] + ", " + mat[1] + ", " + mat[2] + ", " + mat[3] +
           ", "+ mat[4] + ", " + mat[5] + ", " + mat[6] + ", " + mat[7] +
           ", "+ mat[8] + ", " + mat[9] + ", " + mat[10] + ", " + mat[11] +
           ", "+ mat[12] + ", " + mat[13] + ", " + mat[14] + ", " + mat[15] +
           "]";
  }
function M4_str ( mat ) { return "[" + mat [ 0 ] + ", " + mat [ 1 ] + ", " + mat [ 2 ] + ", " + mat [ 3 ] + ", " + mat [ 4 ] + ", " + mat [ 5 ] + ", " + mat [ 6 ] + ", " + mat [ 7 ] + ", " + mat [ 8 ] + ", " + mat [ 9 ] + ", " + mat [ 10 ] + ", " + mat [ 11 ] + ", " + mat [ 12 ] + ", " + mat [ 13 ] + ", " + mat [ 14 ] + ", " + mat [ 15 ] + "]" ; }
Returns a string representation of a 4x4 matrix.
Returns a string representation of a 4x4 matrix .