POV-Ray : Newsgroups : povray.programming : Help: using function of SDL : Re: Help: using function of SDL Server Time
17 May 2024 07:23:27 EDT (-0400)
  Re: Help: using function of SDL  
From: Le Forgeron
Date: 1 Jan 2007 05:20:12
Message: <4598e05c$1@news.povray.org>
you cannot use macro (#if is macro) inside function the way you want
to do it (different namespace: x in function space is not the same
as the x in macro/SDL space). See 2.2.1.6.2 in

http://www.povray.org/documentation/view/3.6.1/231/

If you want to limit to x>0, use the contained_by { box {
<0,-1,-1>,<1,1,1> } in the isosurface object.


-- 
The superior man understands what is right;
the inferior man understands what will sell.
-- Confucius


Post a reply to this message

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