title: Rotating body from spherical coordinates
body: <p>Is it possible to rotate body which has its vertices defined in spherical coordinates.
  Currently I am doing collage project in VHDL and is about rotating dodecahedron and presenting over VGA.</p>
  
  <p>I applied <a href="http://en.wikipedia.org/wiki/Pinhole_camera_model" rel="nofollow">pinhole camera model</a> equations and that required just two sin/cos calculation and two multiplication per vertice.
  I was just thinking about rotating around 3rd axis using 3 steps over two angles but i am unable to figure out proper equations and even if this is possible.</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I think I got it.</p>
  
  <p>Rotating over 3rd axis which is in same direction as camera is just 2D transform of camera coordinates once you you compute them. That mean than for rotating in 3 axes (ok two axis and one inclination) you need to apply total of 4 sin/cos computations and 4 multiplications. If somebody came up whit something better, fell free to post answer.</p>