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

Method addRot

viewer/public/js/ViewControls.js:42–44  ·  view source on GitHub ↗
(dx, dy)

Source from the content-addressed store, hash-verified

40 this.updateCallback(-dx * this.SENSI_MOVE, -dy * this.SENSI_MOVE, 0, 0);
41 }
42 addRot(dx, dy) {
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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected