topical media & game development

talk show tell print

student-ar-org-papervision3d-core-material-AbstractSmoothShadeMaterial.ax

student-ar-org-papervision3d-core-material-AbstractSmoothShadeMaterial.ax [swf] [flash] flex


  package org.papervision3d.core.material
  {
          import flash.geom.Matrix;
          
          import org.papervision3d.core.render.draw.ITriangleDrawer;
          import org.papervision3d.core.render.material.IUpdateBeforeMaterial;
          
          
@Author Ralph Hauwert

  
          public class @ax-student-ar-org-papervision3d-core-material-AbstractSmoothShadeMaterial extends AbstractLightShadeMaterial implements ITriangleDrawer, IUpdateBeforeMaterial
          {
                  protected var transformMatrix:Matrix;
                  protected var triMatrix:Matrix;
                  
                  public function @ax-student-ar-org-papervision3d-core-material-AbstractSmoothShadeMaterial()
                  {
                          super();
                          
                  }
                  
                  override protected function init():void
                  {
                          super.init();
                          transformMatrix = new Matrix();
                          triMatrix = new Matrix();
                  }
                  
          }
  }


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.