flash on 2010-2-12

by namagome
♥0 | Line 13 | Modified 2010-03-19 18:08:12 | MIT License
play

ActionScript3 source code

/**
 * Copyright namagome ( http://wonderfl.net/user/namagome )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/p12J
 */

package {
	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:Sphere = new Sphere(material, 300, 6, 3);
			
			//
			scene.addChild(sphere);
			
			//
			startRendering();
		}	
	}
}

Forked