Source: constants.js

"use strict"

/**
 * ...
 * @namespace core.constants
 */

const constants = {
    /**
     * Inches / Millimetre conversion rate
     * @memberof core.constants
     * @constant {number}
     */
    INCHES_MM_FACTOR: 25.4,
    /**
     * Golden ratio
     * @memberof core.constants
     * @constant {number}
     */
    PHI: 1.6180339887,
    /**
     * Golden ratio inverse
     * @memberof core.constants
     * @constant {number}
     */
    PHI_INV: 0.6180339887,
    /**
     * Ratio of equilateral triangle's height to its side length
     * @memberof core.constants
     * @constant {number}
     */
    EQUI_TRIANGLE_HEIGHT_FACTOR: 0.86603
}

module.exports = constants;