#ifndef GLM_EXT_VIRTREV_XSTREAM_HPP #define GLM_EXT_VIRTREV_XSTREAM_HPP /////////////////////////////////////////////////////////////////////////////////////////////////// // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net) // Virtrev SDK copyright matrem (matrem84.free.fr) /////////////////////////////////////////////////////////////////////////////////////////////////// // Created : 2008-05-24 // Updated : 2008-05-26 // Licence : This source is under MIT License // File : glm/ext/virtrev/xstream.hpp /////////////////////////////////////////////////////////////////////////////////////////////////// // Dependency: // - GLM core // - GLM_GTX_matrix_selection /////////////////////////////////////////////////////////////////////////////////////////////////// #include "../glm.hpp" #include "../gtc/matrix_access.hpp" #include #if(defined(GLM_MESSAGES) && !defined(glm_ext)) # pragma message("GLM: GLM_VIRTREV_xstream extension included") #endif namespace glm { namespace virtrev_glmext { //! GLM_VIRTREV_xstream extension: Streaming vector and matrix in a xml way namespace xstream { template std::ostream & operator << (std::ostream & stream, glm::detail::tvec2 const & vec) { stream << ""; return stream; } template std::ostream & operator << (std::ostream & stream, glm::detail::tvec3 const & vec) { stream << ""; return stream; } template std::ostream & operator << (std::ostream & stream, glm::detail::tvec4 const & vec) { stream << ""; return stream; } template std::ostream & operator << (std::ostream & stream, glm::detail::tmat2x2 const & mat) { stream << "" << std::endl; stream << "" << std::endl; stream << "" << std::endl; stream << ""; return stream; } template std::ostream & operator << (std::ostream & stream, glm::detail::tmat3x3 const & mat) { stream << "" << std::endl; stream << "" << std::endl; stream << "" << std::endl; stream << "" << std::endl; stream << ""; return stream; } template std::ostream & operator << (std::ostream & stream, glm::detail::tmat4x4 const & mat) { stream << "" << std::endl; stream << "" << std::endl; stream << "" << std::endl; stream << "" << std::endl; stream << "" << std::endl; stream << ""; return stream; } } } } namespace glm{using namespace glm::virtrev_glmext::xstream;} #endif//GLM_EXT_VIRTREV_XSTREAM_HPP