function squaredDistance$2(a, b) {
    var x = b[0] - a[0];
    var y = b[1] - a[1];
    var z = b[2] - a[2];
    return x * x + y * y + z * z;
  }
Calculates the squared euclidian distance between two vec3's

@param {ReadonlyVec3} a the first operand
@param {ReadonlyVec3} b the second operand
@returns {Number} squared distance between a and b