POV-Ray : Newsgroups : povray.newusers : functions and macros : Re: functions and macros Server Time
20 May 2024 01:19:54 EDT (-0400)
  Re: functions and macros  
From: Leroy
Date: 18 Jun 2023 13:35:00
Message: <web.648f400a1d2497943807ba4ef712fc00@news.povray.org>
kurtz le pirate <kur### [at] gmailcom> wrote:
> Hence the question : Can a function call a macro ?
>
Sorry, I was working on a function for you and while going back to the message I
got happy fingers and hit Preview then Post before adding the function.
here it is:
#declare Fnc=function(a){a-floor(a)+(a-floor(a)<0)}

Have Fun!


Post a reply to this message

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