From: <sv...@ww...> - 2004-10-05 06:56:22
|
Author: mkrose Date: 2004-10-04 23:56:09 -0700 (Mon, 04 Oct 2004) New Revision: 1282 Modified: trunk/CSP/SimData/CHANGES.current trunk/CSP/SimData/Include/SimData/Quat.h trunk/CSP/SimData/Source/Quat.cpp Log: Fix quat stream output method. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1282 Modified: trunk/CSP/SimData/CHANGES.current =================================================================== --- trunk/CSP/SimData/CHANGES.current 2004-10-05 06:53:49 UTC (rev 1281) +++ trunk/CSP/SimData/CHANGES.current 2004-10-05 06:56:09 UTC (rev 1282) @@ -4,6 +4,8 @@ 2004-04-04: onsight * Add 32-bit and 64-bit pass-through hash functions. + * Fix quat stream output method. + 2004-04-03: onsight * Added a generic most-recently-used cache class. Initial use will be for caching network message dispatch handlers in SimNet. Modified: trunk/CSP/SimData/Include/SimData/Quat.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Quat.h 2004-10-05 06:53:49 UTC (rev 1281) +++ trunk/CSP/SimData/Include/SimData/Quat.h 2004-10-05 06:56:09 UTC (rev 1282) @@ -404,7 +404,7 @@ #ifndef SWIG /** Format to an output stream. */ - friend inline std::ostream& operator << (std::ostream& output, const Quat& vec); + friend std::ostream& operator << (std::ostream& output, const Quat& q); /** Multiply a Quat by a scalar value on the left. */ friend inline Quat operator * (double lhs, const Quat& rhs) { return rhs*lhs; } Modified: trunk/CSP/SimData/Source/Quat.cpp =================================================================== --- trunk/CSP/SimData/Source/Quat.cpp 2004-10-05 06:53:49 UTC (rev 1281) +++ trunk/CSP/SimData/Source/Quat.cpp 2004-10-05 06:56:09 UTC (rev 1282) @@ -379,7 +379,7 @@ return 4*sizeof(double); } -inline std::ostream& operator << (std::ostream& output, const Quat& quat) +std::ostream& operator << (std::ostream& output, const Quat& quat) { output << "[" << quat._x << " " << quat._y |