|
From: Braden M. <br...@en...> - 2001-11-26 03:17:47
|
Just an update regarding some recent checkins I've made... I've threatened to do it for some time; now it's done: OpenVRML's stuff now lives in the OpenVRML namespace. Accordingly, that annoying "Vrml" prefix has been whacked off a number of our class names. I've also been rearranging some code into different files; generally, consolidating multiple classes in a single header/implementation file pair. A lot of OpenVRML's code has been written under the philosophy, "one header and one implementation file per class"; this is not a particularly good strategy for nontrivial C++ library projects. You wind up with a lot of files; including, most annoyingly, a lot of header files. Users of the library potentially must use *lots* of #include directives to get what they need. So, now, an attempt is being made to sanely organize classes into fewer files. I've adopted a convention of using all lower-case letters for file names: since there may be multiple class definitions in a file, it nolonger makes sense to attempt to match the file name to the class name. Braden |