POV-Ray : Newsgroups : povray.general : Bug - sgn() function : Re: Bug - sgn() function Server Time
5 Aug 2024 18:22:07 EDT (-0400)
  Re: Bug - sgn() function  
From: Christoph Hormann
Date: 8 Aug 2002 11:39:42
Message: <3D5290BB.DCEB439@gmx.de>
Demevec wrote:
> 
> [...]
> 
> I used only a simple statement such as: "#declare Value1=sgn(-3);".
> 
> Could someone help me verify if this is a bug or maybe a workaround if it is
> or etc.

You need to add

#include "math.inc"

before using the sgn() function.

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 03 Aug. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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