MCPcopy Create free account
hub / github.com/microsoft/SandDance / lengthPoint

Function lengthPoint

docs/app/js/sanddance-app.js:133697–133701  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

133695 x00 = x0 = x, y00 = y0 = y;
133696}
133697function lengthPoint(x, y) {
133698 x0 -= x, y0 -= y;
133699 lengthSum.add((0, _mathJs.sqrt)(x0 * x0 + y0 * y0));
133700 x0 = x, y0 = y;
133701}
133702exports.default = lengthStream;
133703
133704},{"d3-array":"8JMcC","../math.js":"cDOGy","../noop.js":"jtH2K","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"cNb3J":[function(require,module,exports) {

Callers 1

sanddance-app.jsFile · 0.70

Calls 1

addMethod · 0.45

Tested by

no test coverage detected