Permalink
Browse files

fix some bugs with method calls not prefixed with this.

  • Loading branch information...
1 parent bd82f66 commit 38ba344c26950a93ba7d4055ad2e94be4bceebcd @kig committed Mar 9, 2011
Showing with 109 additions and 109 deletions.
  1. +54 −54 JSARToolKit.js
  2. +1 −1 JSARToolKit.min.js
  3. +1 −1 src/FLARProcessor.js
  4. +1 −1 src/FLARRasterAnalyzer.js
  5. +1 −1 src/NyARCode.js
  6. +1 −1 src/NyARLabel.js
  7. +1 −1 src/NyARSingleMarkerProcesser.js
  8. +49 −49 src/NyARTypes.js
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -91,7 +91,7 @@ FLSingleARMarkerProcesser = ASKlass('FLSingleARMarkerProcesser',
{
if (this._current_arcode_index != -1) {
// 強制リセット
- reset(true);
+ this.reset(true);
}
//検出するマーカセット、情報、検出器を作り直す。(1ピクセル4ポイントサンプリング,マーカのパターン領域は50%)
this._detectmarker_cb.setNyARCodeTable(i_ref_code_table,i_code_resolution);
@@ -60,7 +60,7 @@ FLARRasterAnalyzer_Histogram = ASKlass('FLARRasterAnalyzer_Histogram', NyARRaste
h[i] = 0;
}
o_histgram.total_of_data=size.w*size.h/this._vertical_skip;
- return createHistgram_AS3_BitmapData(i_input, size,h,this._vertical_skip);
+ return this.createHistgram_AS3_BitmapData(i_input, size,h,this._vertical_skip);
}
,createHistgram_AS3_BitmapData : function(i_reader,i_size,o_histgram,i_skip)
{
View
@@ -281,7 +281,7 @@ NyARCodeFileReader = ASKlass('NyARCodeFileReader',
var buf=(tmp_raster.getBuffer());
//GBRAで一度読みだす。
for (var h = 0; h < 4; h++){
- readBlock(token,width,height,buf);
+ this.readBlock(token,width,height,buf);
//ARCodeにセット(カラー)
o_code.getColorData(h).setRaster(tmp_raster);
o_code.getBlackWhiteData(h).setRaster(tmp_raster);
View
@@ -240,7 +240,7 @@ NyARLabelOverlapChecker = ASKlass('NyARLabelOverlapChecker',
,setMaxLabels : function(i_max_label)
{
if (i_max_label > this._labels.length) {
- this._labels = createArray(i_max_label);
+ this._labels = this.createArray(i_max_label);
}
this._length = 0;
}
@@ -108,7 +108,7 @@ SingleARMarkerProcesser = ASKlass('SingleARMarkerProcesser',
{
if (this._current_arcode_index != -1) {
// 強制リセット
- reset(true);
+ this.reset(true);
}
//検出するマーカセット、情報、検出器を作り直す。(1ピクセル4ポイントサンプリング,マーカのパターン領域は50%)
this._detectmarker_cb.setNyARCodeTable(i_ref_code_table,i_code_resolution);
Oops, something went wrong.

0 comments on commit 38ba344

Please sign in to comment.