Update of /cvsroot/openvrml/openvrml/src/libopenvrml-gl/openvrml/gl
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20845/src/libopenvrml-gl/openvrml/gl
Modified Files:
viewer.cpp
Log Message:
Initialize rotation.
Index: viewer.cpp
===================================================================
RCS file: /cvsroot/openvrml/openvrml/src/libopenvrml-gl/openvrml/gl/viewer.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -d -r1.62 -r1.63
*** viewer.cpp 31 May 2007 07:59:32 -0000 1.62
--- viewer.cpp 1 Jul 2007 03:01:29 -0000 1.63
***************
*** 867,870 ****
--- 867,871 ----
{
using openvrml::rotation;
+ using openvrml::make_rotation;
using openvrml::vec3f;
using openvrml::make_vec3f;
***************
*** 879,883 ****
static const float trackballSize = 0.8f;
! rotation result;
if (p1x == p2x && p1y == p2y) {
--- 880,884 ----
static const float trackballSize = 0.8f;
! rotation result = make_rotation();
if (p1x == p2x && p1y == p2y) {
|