From: Braden M. <br...@us...> - 2006-11-22 04:51:39
|
Update of /cvsroot/openvrml/openvrml In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21915 Modified Files: ChangeLog Log Message: Assert normalization of vectors by directly checking that the length is 1.0, rather than asserting that the vector is equal to the normalized version of itself. The latter mechanism introduces too much error. Index: ChangeLog =================================================================== RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v retrieving revision 1.1380 retrieving revision 1.1381 diff -C2 -d -r1.1380 -r1.1381 *** ChangeLog 22 Nov 2006 00:05:17 -0000 1.1380 --- ChangeLog 22 Nov 2006 04:51:36 -0000 1.1381 *************** *** 1,4 **** --- 1,21 ---- 2006-11-21 Braden McDaniel <br...@en...> + Assert normalization of vectors by directly checking that the + length is 1.0, rather than asserting that the vector is equal to + the normalized version of itself. The latter mechanism introduces + too much error. + + * src/libopenvrml/openvrml/basetypes.cpp + (openvrml::make_rotation(const float (&)[4])): Assert that + the length of the vector is 1.0. + (openvrml::make_rotation(float, float, float, float)): Assert + that the length of the vector is 1.0. + (openvrml::make_rotation(const vec3f &, float)): Assert that + the length of the vector is 1.0. + (openvrml::rotation::axis(const vec3f &)): Assert that the length + of the vector is 1.0. + + 2006-11-21 Braden McDaniel <br...@en...> + Factored creation of openvrml::resource_istreams to a dedicated abstract factory, openvrml::resource_fetcher. This allows the |