POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov 0.4, macros trouble : Re: MegaPov 0.4, macros trouble Server Time
2 Sep 2024 18:20:28 EDT (-0400)
  Re: MegaPov 0.4, macros trouble  
From: Chris Huff
Date: 4 Feb 2000 06:41:37
Message: <chrishuff_99-CFEC87.06423004022000@news.povray.org>
I use this type:

if(whatever)
{
    command1();
    command2();
    command3();
    command4();
}

when writing C or C++, but I use this type:

object {MAIN_PARAMETERS
    OTHER_STUFF
}

when writing POV code.
Each one has it's own logical arguments, but I find the first one easier 
to read with loops and conditionals(probably because I am used to seeing 
C code that way). Since POV doesn't use curly brackets for those...

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

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