POV-Ray : Newsgroups : povray.advanced-users : i still do not have an answer yet : Re: i still do not have an answer yet Server Time
30 Jul 2024 02:22:14 EDT (-0400)
  Re: i still do not have an answer yet  
From: Warp
Date: 16 Jan 2001 11:46:19
Message: <3a647ada@news.povray.org>
Chris Huff <chr### [at] maccom> wrote:
: #macro VScale(V, Translation) (V*Translation) #end

  Your choice of parameter name is not the best possible ;)

: Another function in the official version that you may find useful is 
: vaxis_rotate(), which rotates a point around a given axis by a specified 
: number of degrees instead of x, y, then z.

  A macro that applies an axis_rotate to an object is not too difficult to
do either (I think someone has already done it; and it can be found in
the matrix page iirc).

-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


Post a reply to this message

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