code: function getPointDistance(x0, x1, y0, y1) {
    return (Math.sqrt(((x1 - x0) * (x1 - x0)) + ((y1 - y0) * (y1 - y0))));
  }
docs: Calculates the distance between two points
  
  @function getPointDistance
  @param {number} x0 X coordinate of the origin
  @param {number} x1 X coordinate of the current position
  @param {number} y0 Y coordinate of the origin
  @param {number} y1 Y coordinate of the current position
  @return {number} Distance between the two points
  @private