|
![](/i/fill.gif) |
Mike the Elder escreveu:
> Warp <war### [at] tag povray org> wrote:
>> Mike the Elder <nomail@nomail> wrote:
>>> If the point <0,10,3> is rotated 90 degrees about the y axis, the result is
>>> <3,10,0>.
>>> Now, I can store the value of the starting point like this:
>>> #declare POINT1 = <0,10,3>;
>>> ....and I can use POINT1 as a value for placing objects, but...
>>> HOW do I code: #declare POINT2 = ???? //POINT1 rotated in a given way
>> #declare POINT2 = vrotate(POINT1, y*90);
>>
>> --
>> - Warp
>
> That's what I kept missing (kept searching docs under "rotate").
> Thanks!
>
Povray has many handy functions in the standard include files. They are
documented too.
Post a reply to this message
|
![](/i/fill.gif) |