]> git.mxchange.org Git - simgear.git/commitdiff
Modified Files:
authorfrohlich <frohlich>
Tue, 31 Oct 2006 05:37:45 +0000 (05:37 +0000)
committerfrohlich <frohlich>
Tue, 31 Oct 2006 05:37:45 +0000 (05:37 +0000)
simgear/math/SGQuat.hxx: Initialize with zero not with null pointer

simgear/math/SGQuat.hxx

index f05568e04b0d056a83116bba1e71c179f667c357..82a461739e3cd933ff843480dfedfefde569b15e 100644 (file)
@@ -89,7 +89,7 @@ public:
 
   /// Return a unit quaternion
   static SGQuat unit(void)
-  { return fromRealImag(1, SGVec3<T>(0)); }
+  { return fromRealImag(1, SGVec3<T>(0, 0, 0)); }
 
   /// Return a quaternion from euler angles
   static SGQuat fromEulerRad(T z, T y, T x)