Re: [Plib-devel] MSVC
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-09-09 15:54:50
|
Wolfram Kuss wrote: > > I fixed a very small MSVC-compile-problem in ssgAux: > > If you have a default value for a parameter in the declaration and the > definition, then MSVC says, this is an erroneous redefinition. > I simply removed the default parameter in the definition and checked > that it compiles under both Windo$ and Linux. BTW, fgfs had this > problem also. Yes - I tend to do that accidentally when I change my mind an turn an inline function into an non-inlined one. I copy the function definition and forget to remove the default parameter assignments. > Steve, I didnt have time to look at the code :-( and dont know whether > this is a PPE or PLIB question: > Do you know from the top of your head whether you calculate the > normals of a squished sphere like it is a perfect sphere or like the > ellipsoid it is? If you do a very very squished "sphere", actually > almost just a disc, the lighting looks a bit strange. Yep - you are exactly right - I assume it's a perfect sphere - and that's undoubtedly wrong. I'll fix that this evening (or so). -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |