/
Tias
/
UIToolkit
Обзор
Документация
Войти
/
Tias
/
UIToolkit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
include/utils/printGlm.hpp
17 строк
428 B
Tias
add minimal working render box test
27 июн 2025, 21:42
27 июн 2025, 21:42
a090302
Код
Авторство
О чём код?
#ifndef PRITN_GLM_ #define PRITN_GLM_ #include <iostream> #include <glm/glm.hpp> inline std::ostream &operator<<(std::ostream &os, const glm::vec3 &vec) { os << "vec3(" << vec.x << ", " << vec.y << ", " << vec.z << ")" << std::endl; return os; } inline std::ostream &operator<<(std::ostream &os, const glm::vec2 &vec) { os << "vec3(" << vec.x << ", " << vec.y << ")" << std::endl; return os; } #endif // !PRITN_GLM_