POV-Ray : Newsgroups : povray.programming : Help: using function of SDL : Re: Help: using function of SDL Server Time: 24 Jul 2008 10:58:27 GMT
  Re: Help: using function of SDL  
From: Le Forgeron
Date: 1 Jan 2007 10:20:12
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 1991-2004 POV-Team™