From 81188705b1c7341c4cce423b4694f88040080daa Mon Sep 17 00:00:00 2001 From: frohlich Date: Tue, 31 Oct 2006 05:37:45 +0000 Subject: [PATCH] Modified Files: simgear/math/SGQuat.hxx: Initialize with zero not with null pointer --- simgear/math/SGQuat.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5