addon/utils/parse-touch-data.js
function getAngle(originX, originY, projectionX, projectionY) {
  const angle = Math.atan2(projectionY - originY, projectionX - originX) * ((180) / Math.PI);
  return 360 - ((angle < 0) ? (360 + angle) : angle);
}
function getAngle(originX, originY, projectionX, projectionY) {
  const angle = Math.atan2(projectionY - originY, projectionX - originX) * ((180) / Math.PI);
  return 360 - ((angle < 0) ? (360 + angle) : angle);
}
function getAngle ( originX , originY , projectionX , projectionY ) { const angle = Math . atan2 ( projectionY - originY , projectionX - originX ) * ( ( 180 ) / Math . PI ) ; return 360 - ( ( angle < 0 ) ? ( 360 + angle ) : angle ) ; }
Calculates the angle between two points.

@function getAngle
@param {number} originX
@param {number} originY
@param {number} projectionX
@param {number} projectionY
@return {number} Angle between the two points
@private
Calculates the angle between two points .