コード例 #1
0
 public void display() {
   pushMatrix();
   translate(location.x, location.y, -boxSize);
   rotateY(theta);
   theta += 0.01f;
   fill(120);
   box(boxSize);
   sphere.display();
   popMatrix();
 }