Moved Plane and Quat << operators into the io_utils headers

This commit is contained in:
Robert Osfield
2005-04-15 20:59:24 +00:00
parent d3bdfe49ea
commit f4be038d46
5 changed files with 26 additions and 23 deletions

View File

@@ -383,22 +383,11 @@ class OSG_EXPORT Quat
uuv *= 2.0f;
return v + uv + uuv;
}
friend inline std::ostream& operator << (std::ostream& output, const Quat& vec);
protected:
}; // end of class prototype
inline std::ostream& operator << (std::ostream& output, const Quat& vec)
{
output << vec._v[0] << " "
<< vec._v[1] << " "
<< vec._v[2] << " "
<< vec._v[3];
return output; // to enable cascading
}
} // end of namespace
#endif