Cousin Ricky <ric### [at] yahoocom> wrote:
> On 2023-01-28 06:25 (-4), Kenneth wrote:
> > (BTW: #if and #switch/#case do work well in the body of the isosurface, within
> > the main function, to at least eliminate certain parts. Probably not good code
> > practice, but it causes no problems AFAIK.)
> Directives (#if, #switch, etc.) in functions are parsed only once, when
> the function is defined. Directives in functions that are coded in-line
> in an isosurface will be observed each time the object is parsed, but
> directives in any pre-defined functions used in the isosurface will not
> be re-parsed.
Say what now?
I missed this in the first skim-through.
I'll be trying this out at some point - but I'd like to see a working code
example! (Considering that I had no idea this was possible)
Post a reply to this message