POV-Ray : Newsgroups : povray.general : Disc which is not flat : Re: scale by 0 (was Re: Disc which is not flat) Server Time
7 Aug 2024 09:27:02 EDT (-0400)
  Re: scale by 0 (was Re: Disc which is not flat)  
From: Jaime Vives Piqueres
Date: 3 Dec 2001 17:05:34
Message: <3C0BF747.7040503@ignorancia.org>
> Yes, but I was aiming for a single macro to use in place of scale.

Hmmm... perhaps...

#macro Scale(Amnt)
    scale Amnt+<(Amnt.x=0?1:0),(Amnt.y=0?1:0),(Amnt.z=0?1:0)>
#end

then for example use "Scale(3*y)" instead "scale 3*y".

--
Jaime Vives Piqueres

La Persistencia de la Ignorancia
http://www.ignorancia.org/


Post a reply to this message

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