Skip to content

Commit 2feea0b

Browse files
Source formatting
1 parent 2a65272 commit 2feea0b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/fast.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
window.fastThreshold = 40;
5252

5353
var doFindFeatures = function() {
54-
tracking.Fast.FAST_THRESHOLD = window.fastThreshold;
54+
tracking.Fast.THRESHOLD = window.fastThreshold;
5555
context.drawImage(image, 0, 0, width, height);
5656

5757
var imageData = context.getImageData(0, 0, width, height);
@@ -67,7 +67,7 @@
6767
doFindFeatures();
6868

6969
var gui = new dat.GUI();
70-
gui.add(window, 'fastThreshold', 0, 255).onChange(doFindFeatures);
70+
gui.add(window, 'fastThreshold', 0, 100).onChange(doFindFeatures);
7171
}
7272
</script>
7373
</body>

0 commit comments

Comments
 (0)