Language \ Environment \ Comparison
 
Index
 
  The Processing 1.0 _ALPHA_ Reference is a work in progress.
If you see any errors or have any comments, please write to: reas at groupc.net
Name  

rotateX()

   
Examples  
translate(width/2, height/2); 
rotateX(PI/3.0); 
rect(-26, -26, 52, 52); 
Description   Rotates an object around the X axis the amount specified by the angle parameter. Objects are always rotated around their relative position to the origin. Positive numbers rotate objects in a counterclockwise direction. Technically, rotateX() multiplies the current transformation matrix by a rotation matrix.
   
Syntax  
rotateX(angle)
   
Parameters  
angle   float: angle of rotation specified in radians

   
Returns   None
   
Usage   Web & Application
   
Related   rotateY()
rotateZ()
translate()
rotate()
scale()
push()
pop()
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas