POV-Ray : Newsgroups : povray.general : Question About Macros : Re: Question About Macros Server Time
11 Aug 2024 05:10:46 EDT (-0400)
  Re: Question About Macros  
From: Jerome M  BERGER
Date: 14 Oct 1999 16:54:06
Message: <380642E0.4916BE0B@enst.fr>
Andrea Ryan wrote:
> 
> That won't work if the object needs to be translated different distances
> along different axies.
> Brendan Ryan
> 
	Of course it will if you give vectors as parameters:

#macro Foo (Trans)
  ...
  translate Trans
#end

object {
  Foo (<1, 2, 3>)
}

		Jerome

-- 
*******************************

* they'll tell you what can't * mailto:ber### [at] inamecom
* be done and why...          * http://www.enst.fr/~jberger
* Then do it.                 *
*******************************


Post a reply to this message

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