|
![](/i/fill.gif) |
Christian Parpart <cpa### [at] surakware net> wrote:
> Oh no! No! please, don't....... Okay, importing the whole std namespace
> globally is ugly and was never recommented in any documentation I read,
> also I personally never do that too. I just import either locally or import
> explicitely.
I know all this (haven't you read my whinings in povray.off-topic about
the issue?-) ).
Of course the most correct way of using it would be std::min and
std::max. However, I only suggested a quick fix which requires a minimum
amount of modification of the source code without modifying the result
in any way.
Since POV-Ray is not well-structured C++, it doesn't really matter if
you dump everything to global visibility... :)
--
#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
|
![](/i/fill.gif) |