POV-Ray : Newsgroups : povray.beta-test : [scenes] woodmaps.inc : Re: [scenes] woodmaps.inc Server Time
30 Jul 2024 06:31:04 EDT (-0400)
  Re: [scenes] woodmaps.inc  
From: Warp
Date: 29 Jan 2002 09:10:17
Message: <3c56ad48@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
:> #ifndef _INCLUDE_FILE_1_
:>   #include "IncFile1.inc"
:> #end

: But this isn't how you do it in C/C++ header files...

  I know, but it's a (less) known way of speeding up parsing in C/C++.
  It's not something significant in small and mid-sized projects, but I have
heard stories about *HUGE* projects, which take several days to just compile,
where using this trick speeded up the parsing greatly.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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