| 1 |
package org.papervision3d.core.material |
|---|
| 2 |
{ |
|---|
| 3 |
|
|---|
| 4 |
/** |
|---|
| 5 |
* @Author Ralph Hauwert |
|---|
| 6 |
*/ |
|---|
| 7 |
|
|---|
| 8 |
import flash.display.BitmapData; |
|---|
| 9 |
import flash.display.Graphics; |
|---|
| 10 |
import flash.geom.Matrix; |
|---|
| 11 |
|
|---|
| 12 |
import org.papervision3d.core.proto.MaterialObject3D; |
|---|
| 13 |
import org.papervision3d.core.render.command.RenderTriangle; |
|---|
| 14 |
import org.papervision3d.core.render.data.RenderSessionData; |
|---|
| 15 |
import org.papervision3d.core.render.draw.ITriangleDrawer; |
|---|
| 16 |
|
|---|
| 17 |
public class TriangleMaterial extends MaterialObject3D implements ITriangleDrawer |
|---|
| 18 |
{ |
|---|
| 19 |
public function TriangleMaterial() |
|---|
| 20 |
{ |
|---|
| 21 |
super(); |
|---|
| 22 |
} |
|---|
| 23 |
|
|---|
| 24 |
override public function drawTriangle(tri:RenderTriangle, graphics:Graphics, renderSessionData:RenderSessionData, altBitmap:BitmapData = null, altUV:Matrix = null):void |
|---|
| 25 |
{ |
|---|
| 26 |
|
|---|
| 27 |
} |
|---|
| 28 |
|
|---|
| 29 |
override public function drawRT(rt:RenderTriangle, graphics:Graphics, renderSessionData:RenderSessionData):void{ |
|---|
| 30 |
|
|---|
| 31 |
} |
|---|
| 32 |
|
|---|
| 33 |
} |
|---|
| 34 |
} |
|---|