インフォ FAQ
言語 環境比較
 
Index
 
  Processing 1.0 _ALPHAリファレンスは開発途中である。
もしエラーやコメントがあれば、reas at groupc.netへメールして下さい。
Name  

rotateX()

   
Examples  
translate(width/2, height/2); 
rotateX(PI/3.0); 
rect(-26, -26, 52, 52); 
Description  

角度パラメータに決められた量をX軸にそって物体は回転する。物体は起点に相関する位置の周りをいつも回転する。 正の数は、時計と反対まわりに物体を回転させる。技術的にいえば、 rotateX() は今の変換マトリクスを(座標軸の)回転マトリクスによってかけ合わせる。

 

   
Syntax  
rotateX(angle)
   
Parameters  
angle   浮動少数点数 : ラジアンによって決定する回転の角度

   
Returns  

なし

   
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