From: frohlich Date: Tue, 31 Oct 2006 05:37:45 +0000 (+0000) Subject: Modified Files: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=81188705b1c7341c4cce423b4694f88040080daa;p=simgear.git Modified Files: simgear/math/SGQuat.hxx: Initialize with zero not with null pointer --- diff --git a/simgear/math/SGQuat.hxx b/simgear/math/SGQuat.hxx index f05568e0..82a46173 100644 --- a/simgear/math/SGQuat.hxx +++ b/simgear/math/SGQuat.hxx @@ -89,7 +89,7 @@ public: /// Return a unit quaternion static SGQuat unit(void) - { return fromRealImag(1, SGVec3(0)); } + { return fromRealImag(1, SGVec3(0, 0, 0)); } /// Return a quaternion from euler angles static SGQuat fromEulerRad(T z, T y, T x)