Explorar o código

Removed extension namespace

Christophe Riccio %!s(int64=14) %!d(string=hai) anos
pai
achega
0d17a5ca86
Modificáronse 1 ficheiros con 4 adicións e 10 borrados
  1. 4 10
      glm/virtrev/xstream.hpp

+ 4 - 10
glm/virtrev/xstream.hpp

@@ -23,13 +23,9 @@
 #	pragma message("GLM: GLM_VIRTREV_xstream extension included")
 #endif
 
-namespace glm
+namespace glm{
+namespace virtrev_glmext
 {
-	namespace virtrev_glmext
-	{
-		//! GLM_VIRTREV_xstream extension: Streaming vector and matrix in a xml way
-		namespace xstream
-		{
 			template<typename T>
 			std::ostream & operator << (std::ostream & stream, glm::detail::tvec2<T> const & vec)
 			{
@@ -139,10 +135,8 @@ namespace glm
 			
 				return stream;
 			}
-		}
-	}
-}
 
-namespace glm{using namespace glm::virtrev_glmext::xstream;}
+}//namespace virtrev_glmext
+}//namespace glm
 
 #endif//GLM_EXT_VIRTREV_XSTREAM_HPP