MCPcopy Create free account
hub / github.com/boy-hack/WebshellManager / getScale

Function getScale

content/views/assets/js/amazeui.js:1515–1517  ·  view source on GitHub ↗

* calculate the scale factor between two pointersets * no scale is 1, and goes down to 0 when pinched together, and bigger when pinched out * @param {Array} start array of pointers * @param {Array} end array of pointers * @return {Number} scale

(start, end)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

computeInputDataFunction · 0.85

Calls 1

getDistanceFunction · 0.85

Tested by

no test coverage detected