Skip to content

Commit fea50ff

Browse files
author
Gun.io Whitespace Robot
committed
Remove whitespace [WhitespaceBot]
1 parent b7d0403 commit fea50ff

File tree

7 files changed

+23
-23
lines changed

7 files changed

+23
-23
lines changed

JSARToolKit.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ NyARRgbPixelReader_Canvas2D = ASKlass("NyARRgbPixelReader_Canvas2D", INyARRgbPix
13061306
{
13071307
this._ref_canvas = i_canvas;
13081308
},
1309-
1309+
13101310
getData : function() {
13111311
if (this._ref_canvas.changed || !this._data) {
13121312
var canvas = this._ref_canvas;
@@ -4034,15 +4034,15 @@ NyARParam = ASKlass('NyARParam',
40344034
var size = this.getScreenSize();
40354035
var width = size.w;
40364036
var height = size.h;
4037-
4037+
40384038
this.getPerspectiveProjectionMatrix().decompMat(icpara_mat, trans_mat);
4039-
4039+
40404040
var icpara = icpara_mat.getArray();
40414041
var trans = trans_mat.getArray();
40424042
for (i = 0; i < 4; i++) {
40434043
icpara[1][i] = (height - 1) * (icpara[2][i]) - icpara[1][i];
40444044
}
4045-
4045+
40464046
for(i = 0; i < 3; i++) {
40474047
for(j = 0; j < 3; j++) {
40484048
p[i][j] = icpara[i][j] / icpara[2][2];
@@ -4052,22 +4052,22 @@ NyARParam = ASKlass('NyARParam',
40524052
q[0][1] = (2.0 * p[0][1] / (width - 1));
40534053
q[0][2] = -((2.0 * p[0][2] / (width - 1)) - 1.0);
40544054
q[0][3] = 0.0;
4055-
4055+
40564056
q[1][0] = 0.0;
40574057
q[1][1] = -(2.0 * p[1][1] / (height - 1));
40584058
q[1][2] = -((2.0 * p[1][2] / (height - 1)) - 1.0);
40594059
q[1][3] = 0.0;
4060-
4060+
40614061
q[2][0] = 0.0;
40624062
q[2][1] = 0.0;
40634063
q[2][2] = -(FAR_CLIP + NEAR_CLIP) / (NEAR_CLIP - FAR_CLIP);
40644064
q[2][3] = 2.0 * FAR_CLIP * NEAR_CLIP / (NEAR_CLIP - FAR_CLIP);
4065-
4065+
40664066
q[3][0] = 0.0;
40674067
q[3][1] = 0.0;
40684068
q[3][2] = 1.0;
40694069
q[3][3] = 0.0;
4070-
4070+
40714071
for (i = 0; i < 4; i++) { // Row.
40724072
// First 3 columns of the current row.
40734073
for (j = 0; j < 3; j++) { // Column.
@@ -6904,7 +6904,7 @@ NyARTransMat = ASKlass('NyARTransMat',INyARTransMat,
69046904
o_result_conv.error=min_err;
69056905
return;
69066906
},
6907-
6907+
69086908
optimize : function(io_rotmat,io_transvec,i_solver,i_offset_3d,i_2d_vertex,i_err_threshold)
69096909
{
69106910
//System.out.println("START");
@@ -8817,7 +8817,7 @@ NyIdMarkerPickup = ASKlass('NyIdMarkerPickup',
88178817
return;
88188818
}
88198819
/**
8820-
* Initialize the marker pickup for a new frame.
8820+
* Initialize the marker pickup for a new frame.
88218821
* Clears out old values from perspective reader motion cache.
88228822
*/
88238823
,init : function()

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ Copyright (C)2008-2010 Saqoosha, Ryo Iizuka
3333

3434
あなたはこのプログラムと共に、GNU 一般公衆利用許諾書のコピーを一部受け取って
3535
いるはずです。もし受け取っていなければ、<http://www.gnu.org/licenses/> を
36-
ご覧ください。
36+
ご覧ください。

README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ The license is GPL 3 as was the original library.
99

1010
All the hard work was done by the ARToolKit/NyARToolKit/FLARToolKit people,
1111
a huge thank you to them. This port was quite mechanical, though it has some
12-
major JS optimizations and a tracking robustness hack or two. And some
12+
major JS optimizations and a tracking robustness hack or two. And some
1313
uninformed bogus hacks in FLARParam to sort-of make it work on 16:9 video.
1414

1515
See demos/AR_simple_webgl.html for an example of integrating JSARToolKit
1616
output with a WebGL program.
1717

1818
I've only tested the ID markers and square detection paths, so you may
19-
encounter problems working with custom markers. In which case, filing a bug
19+
encounter problems working with custom markers. In which case, filing a bug
2020
report on GitHub would be very much appreciated.
2121

2222

src/NyARIdMarker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ NyIdMarkerPickup = ASKlass('NyIdMarkerPickup',
353353
return;
354354
}
355355
/**
356-
* Initialize the marker pickup for a new frame.
356+
* Initialize the marker pickup for a new frame.
357357
* Clears out old values from perspective reader motion cache.
358358
*/
359359
,init : function()

src/NyARParam.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -461,15 +461,15 @@ NyARParam = ASKlass('NyARParam',
461461
var size = this.getScreenSize();
462462
var width = size.w;
463463
var height = size.h;
464-
464+
465465
this.getPerspectiveProjectionMatrix().decompMat(icpara_mat, trans_mat);
466-
466+
467467
var icpara = icpara_mat.getArray();
468468
var trans = trans_mat.getArray();
469469
for (i = 0; i < 4; i++) {
470470
icpara[1][i] = (height - 1) * (icpara[2][i]) - icpara[1][i];
471471
}
472-
472+
473473
for(i = 0; i < 3; i++) {
474474
for(j = 0; j < 3; j++) {
475475
p[i][j] = icpara[i][j] / icpara[2][2];
@@ -479,22 +479,22 @@ NyARParam = ASKlass('NyARParam',
479479
q[0][1] = (2.0 * p[0][1] / (width - 1));
480480
q[0][2] = -((2.0 * p[0][2] / (width - 1)) - 1.0);
481481
q[0][3] = 0.0;
482-
482+
483483
q[1][0] = 0.0;
484484
q[1][1] = -(2.0 * p[1][1] / (height - 1));
485485
q[1][2] = -((2.0 * p[1][2] / (height - 1)) - 1.0);
486486
q[1][3] = 0.0;
487-
487+
488488
q[2][0] = 0.0;
489489
q[2][1] = 0.0;
490490
q[2][2] = -(FAR_CLIP + NEAR_CLIP) / (NEAR_CLIP - FAR_CLIP);
491491
q[2][3] = 2.0 * FAR_CLIP * NEAR_CLIP / (NEAR_CLIP - FAR_CLIP);
492-
492+
493493
q[3][0] = 0.0;
494494
q[3][1] = 0.0;
495495
q[3][2] = 1.0;
496496
q[3][3] = 0.0;
497-
497+
498498
for (i = 0; i < 4; i++) { // Row.
499499
// First 3 columns of the current row.
500500
for (j = 0; j < 3; j++) { // Column.

src/NyARRasterReader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ NyARRgbPixelReader_Canvas2D = ASKlass("NyARRgbPixelReader_Canvas2D", INyARRgbPix
136136
{
137137
this._ref_canvas = i_canvas;
138138
},
139-
139+
140140
getData : function() {
141141
if (this._ref_canvas.changed || !this._data) {
142142
var canvas = this._ref_canvas;

src/NyARTransMat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ NyARTransMat = ASKlass('NyARTransMat',INyARTransMat,
222222
o_result_conv.error=min_err;
223223
return;
224224
},
225-
225+
226226
optimize : function(io_rotmat,io_transvec,i_solver,i_offset_3d,i_2d_vertex,i_err_threshold)
227227
{
228228
//System.out.println("START");

0 commit comments

Comments
 (0)