POV-Ray : Newsgroups : povray.programming : OT - need help tracking a (few) bug(s) in my little raytracer (C++) : Re: OT - need help tracking a (few) bug(s) in my littleraytracer(C++) Server Time
28 Jul 2024 18:21:30 EDT (-0400)
  Re: OT - need help tracking a (few) bug(s) in my littleraytracer(C++)  
From: Warp
Date: 8 Aug 2001 23:10:59
Message: <3b71ff43@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
: No, you should define the function as "inline".  A compiler doesn't have to
: inline functions automatically, and many compilers won't except you
: explicitly tell them to use auto-inlining.

  Note that a compiler doesn't have to inline anything even if "inline" is
used.

  Sometimes a function _can't_ be inlined even if you wanted.

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


Post a reply to this message

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