UNPKG

@evojs/math

Version:
10 lines (9 loc) 352 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sphd = void 0; var constants_1 = require("./constants"); var spha_function_1 = require("./spha.function"); function sphd(radius, locationA, locationB) { return constants_1.DIV_PI_180 * radius * (0, spha_function_1.spha)(locationA, locationB); } exports.sphd = sphd;