摘要:
3Dvoid setup(){ size(500,500,P3D);}void draw(){ background(0); lights(); noStroke(); translate(250,400,-500); rotateY(PI/6); box(500,100,500); ... 阅读全文
posted @ 2014-10-14 23:12
匡子语
阅读(7774)
评论(0)
推荐(1)
摘要:
translate(x,y); 移动坐标原点到x,y处rotate(angle); 坐标沿原点顺时针转动angle度scale(n); 绘制图像放大n倍pushMatrix() 将当前坐标压入栈popMatrix() 将坐标弹栈------------------------------------... 阅读全文
posted @ 2014-10-14 22:57
匡子语
阅读(2811)
评论(0)
推荐(0)

浙公网安备 33010602011771号