flash on 2010-7-10
♥0 |
Line 16 |
Modified 2010-07-10 19:06:33 |
MIT License
archived:2017-03-20 17:33:29
ActionScript3 source code
/**
* Copyright autumngoodluck ( http://wonderfl.net/user/autumngoodluck )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/qp9N
*/
package
{
import org.papervision3d.materials.*;
import org.papervision3d.objects.primitives.*;
import org.papervision3d.view.*;
public class P3DSample1 extends BasicView
{
public function P3DSample1():void
{
var material:WireframeMaterial = new WireframeMaterial(0xFF0000);
var sphere:Sphere = new Sphere(material, 300, 10, 10);
scene.addChild(sphere);
startRendering();
}
}
}