|
|
@ -5,27 +5,27 @@ namespace Inferno { |
|
|
|
const LogStream& operator<<(const LogStream& stream, const glm::vec2& value) |
|
|
|
const LogStream& operator<<(const LogStream& stream, const glm::vec2& value) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return stream << "{ " |
|
|
|
return stream << "{ " |
|
|
|
<< (value.x >= 0 ? " " : "") << value.x << ", " |
|
|
|
<< (value.x >= 0.0f ? " " : "") << value.x << ", " |
|
|
|
<< (value.y >= 0 ? " " : "") << value.y |
|
|
|
<< (value.y >= 0.0f ? " " : "") << value.y |
|
|
|
<< " }"; |
|
|
|
<< " }"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const LogStream& operator<<(const LogStream& stream, const glm::vec3& value) |
|
|
|
const LogStream& operator<<(const LogStream& stream, const glm::vec3& value) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return stream << "{ " |
|
|
|
return stream << "{ " |
|
|
|
<< (value.x >= 0 ? " " : "") << value.x << ", " |
|
|
|
<< (value.x >= 0.0f ? " " : "") << value.x << ", " |
|
|
|
<< (value.y >= 0 ? " " : "") << value.y << ", " |
|
|
|
<< (value.y >= 0.0f ? " " : "") << value.y << ", " |
|
|
|
<< (value.z >= 0 ? " " : "") << value.z |
|
|
|
<< (value.z >= 0.0f ? " " : "") << value.z |
|
|
|
<< " }"; |
|
|
|
<< " }"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const LogStream& operator<<(const LogStream& stream, const glm::vec4& value) |
|
|
|
const LogStream& operator<<(const LogStream& stream, const glm::vec4& value) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return stream << "{ " |
|
|
|
return stream << "{ " |
|
|
|
<< (value.x >= 0 ? " " : "") << value.x << ", " |
|
|
|
<< (value.x >= 0.0f ? " " : "") << value.x << ", " |
|
|
|
<< (value.y >= 0 ? " " : "") << value.y << ", " |
|
|
|
<< (value.y >= 0.0f ? " " : "") << value.y << ", " |
|
|
|
<< (value.z >= 0 ? " " : "") << value.z << ", " |
|
|
|
<< (value.z >= 0.0f ? " " : "") << value.z << ", " |
|
|
|
<< (value.w >= 0 ? " " : "") << value.w |
|
|
|
<< (value.w >= 0.0f ? " " : "") << value.w |
|
|
|
<< " }"; |
|
|
|
<< " }"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|