Modified Files:

simgear/math/SGQuat.hxx: Initialize with zero not with null pointer
This commit is contained in:
frohlich
2006-10-31 05:37:45 +00:00
parent 63c4873d8a
commit 81188705b1

View 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)