/**
* Calculates the dot product of two vectors.
*
* @param {vec3} a - first operand
* @param {vec3} b - second operand
* @returns {Number} dot product
* @alias module:modeling/maths/vec3.dot
*/
const dot = (a, b) => a[0] * b[0] + a[1] * b[1] + a[2] * b[2]
module.exports = dot