From: Braden M. <br...@us...> - 2007-04-01 19:29:48
|
Update of /cvsroot/openvrml/openvrml In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8020 Modified Files: ChangeLog Log Message: Replaced *Url exposedField implementations with a class template. This incurs some runtime expense in terms of bloating background_node instances a bit; but since there shouldn't be too many of those, this is probably worth the code savings. Index: ChangeLog =================================================================== RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v retrieving revision 1.1468 retrieving revision 1.1469 diff -C2 -d -r1.1468 -r1.1469 *** ChangeLog 25 Mar 2007 07:35:40 -0000 1.1468 --- ChangeLog 1 Apr 2007 19:29:17 -0000 1.1469 *************** *** 1,2 **** --- 1,25 ---- + 2007-04-01 Braden McDaniel <br...@en...> + + Replaced *Url exposedField implementations with a class template. + This incurs some runtime expense in terms of bloating + background_node instances a bit; but since there shouldn't be too + many of those, this is probably worth the code savings. + + * src/libopenvrml/openvrml/vrml97node.cpp + (background_node::back_url_exposedfield): Removed class. + (background_node::bottom_url_exposedfield): Removed class. + (background_node::front_url_exposedfield): Removed class. + (background_node::left_url_exposedfield): Removed class. + (background_node::right_url_exposedfield): Removed class. + (background_node::top_url_exposedfield): Removed class. + (background_node::texture_url_exposedfield): Added template. + (background_node): Use instances of texture_url_exposedfield for + types of back_url_, bottom_url_, front_url_, left_url_, + right_url_, and top_url_. + (background_metatype::do_create_type(const std::string &, const + node_interface_set &) const): Use instances of + texture_url_exposedfield for types of back_url_, bottom_url_, + front_url_, left_url_, right_url_, and top_url_. + 2007-03-25 Braden McDaniel <br...@en...> |