You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
467 B
19 lines
467 B
#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; |
|
} |
|
|
|
}
|
|
|