MCPcopy Index your code
hub / github.com/retspen/webvirtcloud / calcDistance

Function calcDistance

static/js/ace.js:2565–2567  ·  view source on GitHub ↗
(ax, ay, bx, by)

Source from the content-addressed store, hash-verified

2563exports.DefaultHandlers = DefaultHandlers;
2564
2565function calcDistance(ax, ay, bx, by) {
2566 return Math.sqrt(Math.pow(bx - ax, 2) + Math.pow(by - ay, 2));
2567}
2568
2569function calcRangeOrientation(range, cursor) {
2570 if (range.start.row == range.end.row)

Callers 2

ace.jsFile · 0.85
scrollCursorIntoViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected