Riyyi
4 years ago
2 changed files with 46 additions and 4 deletions
@ -0,0 +1,19 @@
|
||||
#include "inferno/scene/components.h" |
||||
|
||||
namespace Inferno { |
||||
|
||||
const LogStream& operator<<(const LogStream& stream, const glm::vec3& value) |
||||
{ |
||||
stream << "{ " << value.x << ", " << value.y << ", " << value.z << " }"; |
||||
return stream; |
||||
} |
||||
|
||||
const LogStream& operator<<(const LogStream& stream, const glm::mat4& value) |
||||
{ |
||||
stream << "mat4 " |
||||
<< value[0] << "\n " << value[1] << "\n " |
||||
<< value[2] << "\n " << value[3]; |
||||
return stream; |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue