POV-Ray : Newsgroups : povray.general : pov source gcc3 problem : Re: pov source gcc3 problem Server Time
5 Aug 2024 20:23:54 EDT (-0400)
  Re: pov source gcc3 problem  
From: Warp
Date: 2 Aug 2002 20:34:28
Message: <3d4b2513@news.povray.org>
Bob Jamison <rja### [at] lincom-asgcom> wrote:
> #ifndef max
> #define max(a,b) ( a > b ? a : b )
> #endif
> #ifndef min
> #define min(a,b) ( a < b ? a : b )
> #endif

> This is easier than searching & prefacing all max
> and min calls with std:: ,  eh?   ;-)

  How is it easier than writing 'using namespace std;' instead?

  Besides, your solution is very bad. Do you know why?

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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