From 6bdd84e3b0192f257e57580120b418a580f0e178 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 8 Jan 2004 21:04:42 +0000 Subject: [PATCH] Made the default settings of Quat 0,0,0,1 to represent a zero rotation. --- include/osg/Quat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/Quat b/include/osg/Quat index 0f9854797..cd82c6fb7 100644 --- a/include/osg/Quat +++ b/include/osg/Quat @@ -33,7 +33,7 @@ class SG_EXPORT Quat value_type _v[4]; // a four-vector - inline Quat() { _v[0]=0.0; _v[1]=0.0; _v[2]=0.0; _v[3]=0.0; } + inline Quat() { _v[0]=0.0; _v[1]=0.0; _v[2]=0.0; _v[3]=1.0; } inline Quat( value_type x, value_type y, value_type z, value_type w ) {