Update of /cvsroot/openvrml/openvrml
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7624
Modified Files:
Tag: OpenVRML-0_16-BRANCH
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.1310.2.143
retrieving revision 1.1310.2.144
diff -C2 -d -r1.1310.2.143 -r1.1310.2.144
*** ChangeLog 25 Mar 2007 07:35:27 -0000 1.1310.2.143
--- ChangeLog 1 Apr 2007 19:29:01 -0000 1.1310.2.144
***************
*** 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...>
|