MCPcopy
hub / github.com/mapillary/OpenSfM / map

Function map

viewer/js/dat.gui.js:1029–1031  ·  view source on GitHub ↗
(v, i1, i2, o1, o2)

Source from the content-addressed store, hash-verified

1027 );
1028
1029 function map(v, i1, i2, o1, o2) {
1030 return o1 + (o2 - o1) * ((v - i1) / (i2 - i1));
1031 }
1032
1033 return NumberControllerSlider;
1034

Callers 12

onMouseDragFunction · 0.85
parallel_mapFunction · 0.85
_read_gcp_list_linesFunction · 0.85
export_bundlerFunction · 0.85
import_bundlerFunction · 0.85
paint_reconstructionFunction · 0.85
exportMethod · 0.85
_write_transformationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected