|
From: Ethan M. <merritt@u.washington.edu> - 2005-04-13 19:30:45
|
On Tuesday 12 April 2005 10:04 am, Petr Mikulik wrote: > > I would prefer a different plan, that would in the end make the > > core code more readable. Instead of adding lots of #ifdef....#endif > > blocks to the core routines, I'd rather create a new set of wrapper > > routines that can eventually handle both 2D and 3D terminals. > > If there is plot_3D.c and graph_3D.c, there will not be so many additional > defines. True, but then we would have the inevitable problem of maintaining two parallel versions of the core 3D plotting code: One version used by true 3D terminals, and a a second version used by the existing 3D->projection->2D terminals. I'd rather have a single set of core routines, and only distinguish by terminal type at a lower level. -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |