Moved Plane and Quat << operators into the io_utils headers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user