POV-Ray : Newsgroups : povray.beta-test : woodmaps.inc error : Re: woodmaps.inc error Server Time
29 Jul 2024 14:26:35 EDT (-0400)
  Re: woodmaps.inc error  
From: Warp
Date: 26 Apr 2002 10:52:25
Message: <3cc969a8@news.povray.org>
Felix Wiemann <Fel### [at] gmxnet> wrote:
>>   If you are worried about parsing speed, just enclose the #include
>>   statement
>> in a proper #ifdef block (the one that is defined inside colors.inc).

> That won't work. POV-Ray has to read the whole include file because the 
> #endif could be in the include file (it's not like C++).

  Wrong. POV-Ray will not execute the #include command if it's skipping
code. A control structure such as #ifdef must start and end in the same
file - it can't start in one file and end in another.

> Btw, could you correct your line length to 72? The quoted text isn't 
> very well readable.

  My lines are as long as I decide to write them.
  I *want* to have full control of what I write. I *don't* want a program
to modify what I write.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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