チェンジセット 3684

差分発生行の前後
無視リスト:
コミット日時:
2010/04/03 20:41:50 (2 年前)
コミッタ:
rokubou
ログメッセージ:

FLARRgbRaster_BitmapData のAPI変更にあわせて修正

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as3/FLARToolKit/trunk/src/examples/FLARTK_Example_SingleManager_PV3D.as

    r3667 r3684  
    202202                         
    203203                        // setup ARToolkit 
    204                         this.raster = new FLARRgbRaster_BitmapData( captureWidth, captureHeight); 
    205                         this.capture = new Bitmap( BitmapData(this.raster.getBuffer()), PixelSnapping.AUTO, true); 
     204                        this.capture = new Bitmap(new BitmapData(this.captureWidth, this.captureHeight, false, 0), PixelSnapping.AUTO, true); 
    206205                        capture.width = this.canvasWidth; 
    207206                        capture.height = this.canvasHeight; 
    208207                        this.addChild(this.capture); 
     208                         
     209                        this.raster = new FLARRgbRaster_BitmapData(this.capture.bitmapData); 
    209210                         
    210211                        _viewport = this.addChild(new Viewport3D(this.captureWidth, this.captureHeight)) as Viewport3D; 
  • as3/FLARToolKit/trunk/src/examples/FLARTK_Example_SingleNyIDManager.as

    r3667 r3684  
    201201                         
    202202                        // setup ARToolkit 
    203                         this.raster = new FLARRgbRaster_BitmapData( captureWidth, captureHeight); 
    204                         this.capture = new Bitmap( BitmapData(this.raster.getBuffer()), PixelSnapping.AUTO, true); 
     203                        this.capture = new Bitmap(new BitmapData(this.captureWidth, this.captureHeight, false, 0), PixelSnapping.AUTO, true); 
    205204                        capture.width = this.canvasWidth; 
    206205                        capture.height = this.canvasHeight; 
    207206                        this.addChild(this.capture); 
     207                         
     208                        this.raster = new FLARRgbRaster_BitmapData(this.capture.bitmapData); 
    208209                         
    209210                        _viewport = this.addChild(new Viewport3D(this.captureWidth, this.captureHeight)) as Viewport3D; 
  • as3/FLARToolKit/trunk/src/examples/manager/FLSingleARMarkerManager.as

    r3667 r3684  
    276276 * detectMarkerのコールバック関数 
    277277 */ 
    278 class DetectSquareCB implements NyARSquareContourDetector_IDetectMarkerCallback 
     278internal class DetectSquareCB implements NyARSquareContourDetector_IDetectMarkerCallback 
    279279{ 
    280280        //公開プロパティ