MCPcopy Index your code
hub / github.com/microsoft/SandDance / visible

Function visible

docs/app/js/sanddance-app.js:132931–132933  ·  view source on GitHub ↗
(lambda, phi)

Source from the content-addressed store, hash-verified

132929 (0, _circleJs.circleStream)(stream, radius, delta1, direction, from, to);
132930 }
132931 function visible(lambda, phi) {
132932 return (0, _mathJs.cos)(lambda) * (0, _mathJs.cos)(phi) > cr;
132933 }
132934 // Takes a line and cuts into visible segments. Return values used for polygon
132935 // clipping: 0 - there were intersections or the line was empty; 1 - no
132936 // intersections 2 - there were intersections, and the first and last segments

Callers 1

clipLineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected