gistlib
index.tsxlet coords = [x, y, z]; if (Math.hypot(...coords) < 1000) { throw new Error("error: for near surface coordinates only"); } 125 chars5 lines
let coords = [x, y, z]; if (Math.hypot(...coords) < 1000) { throw new Error("error: for near surface coordinates only"); }
gistlibby LogSnag