[Plib-devel] ssg borland
Brought to you by:
sjbaker
From: Simon <sim...@ho...> - 2004-05-08 17:07:55
|
Hi, I got the latest plib and it built fine. I just want to clarify a couple of things. In the cvs repository you say it's a fix for = Macintosh. I use Windows XP and Borland C++ Builder 6. I think these fixes will = work on any Borland Builder version however so I guess it is a kind of cross platform fix. I used Kylix several months ago to port code between = Linux and Windows and my guess is that the fix will work there as well. =20 How come you don't define UL_BB in ul.h? Just curious as it's no = problem to simply define it in the project options. Is it because the sections = there mainly deal with operating systems and this is more of a development = tool fix? =20 I found a better solution for the m=3Dw problem in ssgVtxTable.cxx. The compiler stops saying it cannot modify a const object. Before I just commented it out. I think this works better: =20 Inside void ssgVtxTable::transform ( const sgMat4 m ) //m =3D w ; } =20 =20 for ( i =3D 0 ; i < getNumNormals() ; i++ ) sgXformVec3 ( normals->get(i), normals->get(i), w) ; =20 You see I still comment it out but pass w to sgXformVec3 instead of m. =20 Thanks for committing it, hope it helps some other people out. |