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

Function resampleNone

docs/app/js/sanddance-app.js:134118–134125  ·  view source on GitHub ↗
(project)

Source from the content-addressed store, hash-verified

134116 return +delta2 ? resample(project, delta2) : resampleNone(project);
134117};
134118function resampleNone(project) {
134119 return (0, _transformJs.transformer)({
134120 point: function(x, y) {
134121 x = project(x, y);
134122 this.stream.point(x[0], x[1]);
134123 }
134124 });
134125}
134126function resample(project, delta2) {
134127 function resampleLineTo(x0, y0, lambda0, a0, b0, c0, x1, y1, lambda1, a1, b1, c1, depth, stream) {
134128 var dx = x1 - x0, dy = y1 - y0, d2 = dx * dx + dy * dy;

Callers 1

sanddance-app.jsFile · 0.70

Calls 1

projectFunction · 0.70

Tested by

no test coverage detected