Revision dd57d4fa examples/bunny/processing/cuberotate/cuberotate.pde

View differences:

examples/bunny/processing/cuberotate/cuberotate.pde
82 82
  translate(200, 300, 0);
83 83
  
84 84
  // Rotate shapes around the X/Y/Z axis (values in radians, 0..Pi*2)
85
  rotateZ(radians(roll * -1.0F));
85
  rotateZ(radians(roll));
86 86
  rotateX(radians(pitch));
87
  rotateY(radians(yaw));
87 88

  
88 89
  pushMatrix();
89 90
  noStroke();

Also available in: Unified diff