POV-Ray : Newsgroups : povray.general : POV Includes note : Re: POV Includes note Server Time
8 Aug 2024 22:15:14 EDT (-0400)
  Re: POV Includes note  
From: Philippe Debar
Date: 3 Oct 2000 04:58:12
Message: <39d99fa4@news.povray.org>
If you include a common *.inc file in every file that need it, when you
include these files, you parse the common file multiple time, which can be
slow. What I do is check with ifndef if the file isn't already included (by
checking either the first #declared identifier in the #included file or the
first #declared identifier the current file needs from the #included file).


Povingly,

Philippe


Post a reply to this message

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