Fixed namespace issue with stream operators

This commit is contained in:
Christophe Riccio 2012-04-23 15:41:18 +01:00
parent fb220d3f84
commit 928ed30fe0

View File

@ -47,7 +47,8 @@
# pragma message("GLM: GLM_VIRTREV_xstream extension included") # pragma message("GLM: GLM_VIRTREV_xstream extension included")
#endif #endif
namespace glm namespace glm{
namespace detail
{ {
template<typename T> template<typename T>
std::ostream & operator << (std::ostream & stream, glm::detail::tvec2<T> const & vec) std::ostream & operator << (std::ostream & stream, glm::detail::tvec2<T> const & vec)
@ -159,6 +160,7 @@ namespace glm
return stream; return stream;
} }
}//namespace detail
}//namespace glm }//namespace glm
#endif//GLM_VIRTREV_xstream #endif//GLM_VIRTREV_xstream