POV-Ray : Newsgroups : povray.general : shapes2.inc error : Re: shapes2.inc error Server Time
1 Aug 2024 20:12:28 EDT (-0400)
  Re: shapes2.inc error  
From: Alain
Date: 20 May 2005 16:29:52
Message: <428e48c0$1@news.povray.org>
Alf Peake nous apporta ses lumieres en ce 2005-05-20 13:36:
> JYR wrote:
> 
>> Alf Peake <ger### [at] ricinwales> wrote:
>>
>>> This line:
>>> #include "shapes2.inc"
>>
>>
>>
>> expand it to :
>> #include "shapes.inc"
>> #include "shapes2.inc"
>>
>> ..... it should now work.
>> JYR
>>
>>
> 
> Yes, I know that ;) but I feel an *.inc file should not depend on 
> another file to work. I was trying some of my old pov files, and took a 
> while to figure out the error :-[
> 
You may add this line to shapes2.inc:
#include "shapes.inc"
That way, you don't need to remember to include that file..,
I agree with you, any *.inc file that need another one should include it.

Alain


Post a reply to this message

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