#ifndef STREAM_SUPPORT_H #define STREAM_SUPPORT_H #include template std::ostream & operator<<(std::ostream & s, glm::mat & m) { for (int y = 0; y < m.length(); y++) { const auto & col = m[y]; for (int x = 0; x < col.length(); x++) { s << col[x] << ", "; } s << "\n"; } return s; } #endif