function angleTo(v1, v2) {

            var theta = vDot(v1, v2) / (vLength(v1) * vLength(v2));
            // clamp, to handle numerical problems
            return Math.acos(clip(theta, -1, 1));

        }
/**
         * Returns the angle between this vector and vector v in radians.
         * @param v1 - Numerical value
         * @param v2 - Numerical value
         * @returns {number}
         */
Returns the angle between this vector and vector v in radians.
@param v1 - Numerical value
@param v2 - Numerical value
@returns {number}
Returns the angle between this vector and vector v in radians . @param v1 - Numerical value @param v2 - Numerical value @returns { number }
function angleTo(v1, v2) {
            var theta = vDot(v1, v2) / (vLength(v1) * vLength(v2));
            return Math.acos(clip(theta, -1, 1));
        }
function angleTo ( v1 , v2 ) { var theta = vDot ( v1 , v2 ) / ( vLength ( v1 ) * vLength ( v2 ) ) ; return Math . acos ( clip ( theta , - 1 , 1 ) ) ; }
Returns the angle between this vector and vector v in radians.
Returns the angle between this vector and vector v in radians .
// clamp, to handle numerical problems