|
![](/i/fill.gif) |
In article <3aed6365@news.povray.org>, "Wlodzimierz ABX Skiba"
<abx### [at] abx art pl> wrote:
> I found in tokenize.c entry
> {SGN_TOKEN, "sgn"}, /*Chris Huff jan 2001*/
> then look for SGN_TOKEN in other files and found in express.c
> case SGN_TOKEN: /*Chris Huff "sign() function"*/
> then forgot about sgn() and remembered sign()
>
> but now I write:
> #version unofficial megapov 0.7;
> #warning concat(str(sgn(100),0,0),"\n")
>
> and it won't work ???
Because, as I said, it's turned off...you left out the #ifdef
SignPatch...#endif blocks surrounding those lines. The definition of
SignPatch in frame.h is commented out, and a reason given:
/*#define SignPatch*/ /*Chris Huff July 2000 (added to mp jan 2001)*/
/* not truned on because of the conflict with sign in the isosurface.
sng and sign ???? no :) */
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |