dist/axis3d.js
/**
 * Calculates the squared length of a vec4
 *
 * @param {vec4} a vector to calculate squared length of
 * @returns {Number} squared length of a
 */
Calculates the squared length of a vec4
@param {vec4} a vector to calculate squared length of
@returns {Number} squared length of a
Calculates the squared length of a vec4 @param { vec4 } a vector to calculate squared length of @returns { Number } squared length of a
function squaredLength(a) {
  var x = a[0],
      y = a[1],
      z = a[2],
      w = a[3];
  return x * x + y * y + z * z + w * w;
}
function squaredLength ( a ) { var x = a [ 0 ] , y = a [ 1 ] , z = a [ 2 ] , w = a [ 3 ] ; return x * x + y * y + z * z + w * w ; }
Calculates the squared length of a vec4
 @param {vec4} a vector to calculate squared length of
 @returns {Number} squared length of a
Calculates the squared length of a vec4 @param { vec4 } a vector to calculate squared length of @returns { Number } squared length of a