package {
import flash.accessibility.Accessibility;
import org.papervision3d.materials.*;
import org.papervision3d.objects.primitives.*;
import org.papervision3d.view.*;
public class Sample1 extends BasicView {
public function Sample1():void {
var material:WireframeMaterial = new WireframeMaterial(0xFF0000);
var sphere:Cube = new Cube(material,300,3,3);
scene.addChild(sphere);
startRendering();
sphere.x = 400;
sphere.y = 400;
sphere.z = 400;
}
}
}