utils/geometry/point.js
function divide(point, rhs) {
    if (typeof rhs === 'number') {
        return {
            x: point.x / rhs,
            y: point.y / rhs,
        };
    } else {
        return {
            x: point.x / rhs.x,
            y: point.y / rhs.y,
        };
    }
    
}
function divide(point, rhs) {
    if (typeof rhs === 'number') {
        return {
            x: point.x / rhs,
            y: point.y / rhs,
        };
    } else {
        return {
            x: point.x / rhs.x,
            y: point.y / rhs.y,
        };
    }
    
}
function divide ( point , rhs ) { if ( typeof rhs === 'number' ) { return { x : point . x / rhs , y : point . y / rhs , } ; } else { return { x : point . x / rhs . x , y : point . y / rhs . y , } ; } }
divide point by point or number
@param {Point2D} point
@param {(Point2D | number)} rhs
divide point by point or number