POV-Ray : Newsgroups : povray.text.tutorials : Rotate around central axis : Re: Rotate around central axis Server Time
23 Apr 2024 08:31:57 EDT (-0400)
  Re: Rotate around central axis  
From: Warp
Date: 19 Dec 2000 04:00:10
Message: <3a3f2399@news.povray.org>
Philippe-H Cadet <del### [at] videotronca> wrote:
: Hi. I have tried for months to find a way to rotate an object around it
: central axis. How can I do that?

  Easy:

translate -ObjectCenter
rotate whatever
translate ObjectCenter

  You'll have to define ObjectCenter yourself.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.