チェンジセット 3663
- コミット日時:
- 2010/04/02 16:50:21 (3 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/FLARToolKit/trunk/libs/NyARToolKitAS3/src/jp/nyatla/nyartoolkit/as3/core/NyARCode.as
r3322 r3663 45 45 private var _height:int; 46 46 47 public function NyARCode(i_width:int, i_height:int) 48 { 49 this._width = i_width; 50 this._height = i_height; 51 //空のラスタを4個作成 52 for(var i:int=0;i<4;i++){ 53 this._color_pat[i]=new NyARMatchPattDeviationColorData(i_width,i_height); 54 this._bw_pat[i]=new NyARMatchPattDeviationBlackWhiteData(i_width,i_height); 55 } 56 return; 57 } 58 47 59 public function getColorData(i_index:int):NyARMatchPattDeviationColorData 48 60 { … … 62 74 return _height; 63 75 } 64 public function NyARCode(i_width:int, i_height:int) 65 { 66 this._width = i_width; 67 this._height = i_height; 68 //空のラスタを4個作成 69 for(var i:int=0;i<4;i++){ 70 this._color_pat[i]=new NyARMatchPattDeviationColorData(i_width,i_height); 71 this._bw_pat[i]=new NyARMatchPattDeviationBlackWhiteData(i_width,i_height); 72 } 73 return; 74 } 76 75 77 public function loadARPattFromFile(i_stream:String):void 76 78 { … … 97 99 import jp.nyatla.nyartoolkit.as3.core.types.*; 98 100 99 class NyARCodeFileReader101 internal class NyARCodeFileReader 100 102 { 101 103 /**

