POV-Ray : Newsgroups : povray.general : shapes2.inc error : Re: shapes2.inc error Server Time
1 Aug 2024 20:10:57 EDT (-0400)
  Re: shapes2.inc error  
From: Rune
Date: 21 May 2005 04:27:16
Message: <428ef0e4@news.povray.org>
Alain wrote:
> 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.

But then you risk having certain include files, that many other include 
files rely on, included several times.

Not only does it slow down parsing - if there are function declarations in 
the include, you will get an error when the same functions are attempted 
declared for the second time!

Rune
-- 
3D images and anims, include files, tutorials and more:
rune|vision:  http://runevision.com
POV-Ray Ring: http://webring.povray.co.uk


Post a reply to this message

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