voidsetup(){size(1000,600,P3D);noFill();smooth();}voiddraw(){background(0);translate(width/2,height/2,-(width/2));rotateY(map(mouseX,0,width,-PI,PI));stroke(100);box(350);rotateX(map(mouseY,0,height,-PI,PI));stroke(150);box(200);}
分类:
其他好文 时间:
2014-09-26 00:20:38
阅读次数:
170