build/index.js
/**
 * Calculates the length of a vec3
 *
 * @param {vec3} a vector to calculate length of
 * @returns {Number} length of a
 */
Calculates the length of a vec3
@param {vec3} a vector to calculate length of
@returns {Number} length of a
Calculates the length of a vec3 @param { vec3 } a vector to calculate length of @returns { Number } length of a
function length$1(a) {
  let x = a[0];
  let y = a[1];
  let z = a[2];
  return Math.sqrt(x*x + y*y + z*z);
}
function length$1 ( a ) { let x = a [ 0 ] ; let y = a [ 1 ] ; let z = a [ 2 ] ; return Math . sqrt ( x * x + y * y + z * z ) ; }
Calculates the length of a vec3
 @param {vec3} a vector to calculate length of
 @returns {Number} length of a
Calculates the length of a vec3 @param { vec3 } a vector to calculate length of @returns { Number } length of a