POV-Ray : Newsgroups : povray.beta-test : woodmaps.inc error : Re: woodmaps.inc error Server Time
29 Jul 2024 14:15:58 EDT (-0400)
  Re: woodmaps.inc error  
From: Warp
Date: 26 Apr 2002 08:29:01
Message: <3cc9480d@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
> Just like for most of the other include files you have to incliude
> "colors.inc".

  This is one thing I have always disagreed with (and I have to always
fix this by myself).
  A library should always be usable just as it is (ie. just by including it
and period). If the library depends on another library, it should include it
internally.
  It's extremely user-unfriendly and illogical that the user must know which
libraries depend on which other libraries and in which order he should include
them in order to make them work.

  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).

  Fixing this is good for everyone. Users don't have to struggle with this
problem and the team has one question less to answer.

-- 
#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.