[Papervision3D] Dumb Cube question
Ross Sclafani
ross.sclafani at gmail.com
Thu Jul 9 14:29:27 PDT 2009
there are no dumb questions, just dumb cubes.
_r
On Jul 9, 2009, at 5:03 PM, Peter Velichkov wrote:
> Hi guys,
>
> Haven't used cubes for a while and found out that the front and back
> materials are swapped. Any reason for that or I'm missing something
> stupid.
>
> var materials:MaterialsList = new MaterialsList(
> {
> front: new ColorMaterial(0xFF0000),
> back: new ColorMaterial(0x00FF00),
> right: new ColorMaterial(0xFFFFFF),
> left: new ColorMaterial(0xFFFFFF),
> top: new ColorMaterial(0xFFFFFF),
> bottom: new ColorMaterial(0xFFFFFF)
> } );
>
> var c:Cube = new Cube(materials, 300, 300, 300);
>
> scene.addChild(c);
>
> Peter
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
More information about the Papervision3D
mailing list