(p,path.size()/2,def,degree,inExtrudeFunc,Ah! Now it all makes sense. The code should have read:
inObjectFunc,inChecker,ag_mode_draped_obj);
AG_extrude_string(p,path.size()/2,def,degree,inExtrudeFunc,After having done a global search, clearly I had hit the space bar by accident, nuking my function call. The charming thing is that C++ doesn't question why I have a giant list of paranthetical "stuff", it just blissfully compiles it into an expression that does...well, pretty much nothing.
inObjectFunc,inChecker,ag_mode_draped_obj);
Some of my other favorite C++ isms:
case a: do_it(); break;Of course we are all familiar with the fun that emerges from swapping = and ==. And having a stray semi-colon never hurt anything.
b: do_x(); break; // no case, not illegal - now "b'' is a label!
defaultl: do_more(); break; // typo in default? That's a label too!
Propsman had an apt characterization: C++ is like an overly polite butler. "A...hamburger on the rocks, Sir? Certainly, Sir, I'll bring you one directly..."
LOL - "An overly polite butler" - classic :)
ReplyDelete