|
![](/i/fill.gif) |
Greg M. Johnson <gre### [at] my-dejanews com> wrote:
: How can this be done? Can declare a point, then rotate it later, then
: later on use it as the position of an object?
You can apply to a vector all the tranformations you can apply to an
object:
object { MyObject translate Amount }
#declare MyVector=MyVector+Amount;
object { MyObject scale Amount }
#declare MyVector=MyVector*Amount;
object { MyObject rotate Amount }
#declare MyVector=vrotate(MyVector,Amount);
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |