MCPcopy Create free account
hub / github.com/PeterFWS/Structure-PLP-SLAM / addZoom

Method addZoom

viewer/public/js/ViewControls.js:45–50  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

43 this.updateCallback(0, 0, dx * this.SENSI_ROT, -dy * this.SENSI_ROT);
44 }
45 addZoom(q) {
46 this.dist += this.SENSI_ZOOM * q;
47 if (this.dist < 1) {
48 this.dist = 1;
49 }
50 }
51
52 computeReferences() {
53

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected