On Monday 07 February 2005 17:54, John Tsiombikas (Nuclear / the Lab) wrote: > On Mon, Feb 07, 2005 at 01:35:44PM +0100, Lourens Veen wrote: > > I've attached a patch. Using both gcc and g++ got a bit clumsy, since gcc > > doesn't know what a class is, and geometry.c includes render.hpp, which > > includes float25.hpp, which defines a class. There must be a better way > > to do this, so please fix this someone :-). > > Indeed the way it is organized right now it just won't work with > geometry remaining in C. So if we're going to use C++ anyway, let's make > the whole thing C++ and get done with it. > > I made everything C++ and did a small code reorganization, seperating > the testing code from geometry.c to a seperate source file. Also I > cleaned up the Makefile a bit.
Nice! I just realised that I'd forgotten to put a copyright licence notice in there, so I updated your patch with that. See attachment. > The model code should really go into the repository, right now I can > only see the simulator there, so please anyone who has access to the > repository, import it so we can work easier on this. I second that! Lourens
opengr1_2.patch_b.gz
Description: GNU Zip compressed data
_______________________________________________ Open-graphics mailing list [email protected] http://lists.duskglow.com/mailman/listinfo/open-graphics List service provided by Duskglow Consulting, LLC (www.duskglow.com)
