|
From: Kevin M. <mat...@ar...> - 2005-02-17 20:39:35
|
Is this getting a bit whacky? Isn't there a clean approach? - K On Thu, 17 Feb 2005 12:15:44 -0800, James W. Walker wrote: > Roger Holmes <rog...@mi...> wrote: > >> As we never actually create any objects of class 'Light', only >> ambient, directional, spot and point lights, >> would it be OK to redefine kQ3ShapeTypeLight to be something like >> 'lghT' with a capital T or 'Lght' ? > > I have some code that uses Q3Group_GetFirstPositionOfType and > Q3Group_GetNextPositionOfType with kQ3ShapeTypeLight, and that will > break if you redefine kQ3ShapeTypeLight. > > Here's a possibility: In e3fformat_3dmf_bin_readobject, add a > special case, that checks whether the object type is 'lght' and > changes it to something else like 'lghd'. > -- > James W. Walker, ScriptPerfection Enterprises, Inc. > <http://www.write-brain.com/> > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Quesa-develop mailing list > Que...@li... > https://lists.sourceforge.net/lists/listinfo/quesa-develop > |