mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
config redirect
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
import {atan, cos, sin} from "../math.js";
|
||||
import {azimuthalInvert} from "./azimuthal.js";
|
||||
import projection from "./index.js";
|
||||
|
||||
export function gnomonicRaw(x, y) {
|
||||
var cy = cos(y), k = cos(x) * cy;
|
||||
return [cy * sin(x) / k, sin(y) / k];
|
||||
}
|
||||
|
||||
gnomonicRaw.invert = azimuthalInvert(atan);
|
||||
|
||||
export default function() {
|
||||
return projection(gnomonicRaw)
|
||||
.scale(144.049)
|
||||
.clipAngle(60);
|
||||
}
|
||||
Reference in New Issue
Block a user