Skip to content

Commit

Permalink
Code formatting cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jzwcars committed Apr 22, 2020
1 parent 4961c0c commit 465c054
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/ARController.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,11 +520,11 @@ export default class ARController {
// debug stuff
//----------------------------------------------------------------------------

/**
* Sets up a debug canvas for the AR detection.
/**
* Sets up a debug canvas for the AR detection.
* Draws a red marker on top of each detected square in the image.
* The debug canvas is added to document.body.
*/
* The debug canvas is added to document.body.
*/
debugSetup() {

if(typeof document === 'undefined') {
Expand All @@ -538,11 +538,11 @@ export default class ARController {
this._bwpointer = this.getProcessingImage();
};

/**
* Draw the black and white image and debug markers to the ARController canvas.
* See setDebugMode.
/**
* Draw the black and white image and debug markers to the ARController canvas.
* See setDebugMode.
* @return 0 (void)
*/
*/
debugDraw() {

let debugBuffer = new Uint8ClampedArray(
Expand Down Expand Up @@ -830,7 +830,7 @@ export default class ARController {
* Note that this is actually a count, not an index. A better name for this function would be
* arGetDetectedMarkerCount, but the current name lives on for historical reasons.
*/
getMarkerNum () {
getMarkerNum() {
return this.artoolkit.getMarkerNum(this.id);
};

Expand Down

0 comments on commit 465c054

Please sign in to comment.