B2G/gecko/browser/devtools/tilt/TiltMath.jsm
/**
   * Copies the values of one quat4 to another.
   *
   * @param {Array} aQuat
   *                quat4 containing values to copy
   * @param {Array} aDest
   *                quat4 receiving copied values
   *
   * @return {Array} the destination quat4 receiving copied values
   */
Copies the values of one quat4 to another.
@param {Array} aQuat
quat4 containing values to copy
@param {Array} aDest
quat4 receiving copied values

@return {Array} the destination quat4 receiving copied values
Copies the values of one quat4 to another . @param { Array } aQuat quat4 containing values to copy @param { Array } aDest quat4 receiving copied values @return { Array } the destination quat4 receiving copied values
function Q4_set(aQuat, aDest)
  {
    aDest[0] = aQuat[0];
    aDest[1] = aQuat[1];
    aDest[2] = aQuat[2];
    aDest[3] = aQuat[3];
    return aDest;
  }
function Q4_set ( aQuat , aDest ) { aDest [ 0 ] = aQuat [ 0 ] ; aDest [ 1 ] = aQuat [ 1 ] ; aDest [ 2 ] = aQuat [ 2 ] ; aDest [ 3 ] = aQuat [ 3 ] ; return aDest ; }
Copies the values of one quat4 to another.
Copies the values of one quat4 to another .