processing proce55ing sphere 3d rotate

void setup(){
size(400, 400, P3D);
}
void draw(){
background(0);
translate(width/2, height/2);
rotate(frameCount*PI/60);
sphere(100);
}

f:id:peroon:20090429002009j:image
rotate()が何を中心にして回るのかは置いておく。sphereで原点中心に球を描画。