From: Braden M. <br...@us...> - 2006-11-22 04:51:26
|
Update of /cvsroot/openvrml/openvrml In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21871 Modified Files: Tag: OpenVRML-0_16-BRANCH 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.1310.2.57 retrieving revision 1.1310.2.58 diff -C2 -d -r1.1310.2.57 -r1.1310.2.58 *** ChangeLog 20 Nov 2006 03:21:14 -0000 1.1310.2.57 --- ChangeLog 22 Nov 2006 04:51:21 -0000 1.1310.2.58 *************** *** 1,2 **** --- 1,19 ---- + 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::rotation::rotation(const float (&)[4])): Assert that + the length of the vector is 1.0. + (openvrml::rotation::rotation(float, float, float, float)): Assert + that the length of the vector is 1.0. + (openvrml::rotation::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-19 Braden McDaniel <br...@en...> |