球体練習
♥0 |
Line 17 |
Modified 2010-04-23 11:12:16 |
MIT License
archived:2017-03-20 02:47:28
ActionScript3 source code
/**
* Copyright plus-tic ( http://wonderfl.net/user/plus-tic )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/mWRe
*/
package
{
import org.papervision3d.materials.WireframeMaterial;
import org.papervision3d.objects.primitives.Sphere;
import org.papervision3d.view.*;
public class Main extends BasicView
{
public function Main()
{
var material:WireframeMaterial = new WireframeMaterial(0x666666);
var sphere:Sphere = new Sphere(material);
scene.addChild(sphere);
startRendering();
}
}
}