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

Method setMode

viewer/public/js/ViewControls.js:239–247  ·  view source on GitHub ↗
(mode)

Source from the content-addressed store, hash-verified

237 }
238
239 setMode(mode) {
240 this.currentMethod = this.allMethod[0];
241 for (let method of this.allMethod) {
242 if (method.name == mode) {
243 this.currentMethod = method;
244 break;
245 }
246 }
247 }
248
249 addRot(dx, dy) {
250 this.currentMethod.addRot(dx, dy);

Callers 4

constructorMethod · 0.95
initFunction · 0.80
setCameraModeFunction · 0.80
oeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected