Add vec2 to LogStream
This commit is contained in:
@@ -32,6 +32,12 @@ namespace Inferno {
|
||||
return stream;
|
||||
}
|
||||
|
||||
const LogStream& operator<<(const LogStream& stream, const glm::vec2& value)
|
||||
{
|
||||
stream << "{ " << value.x << ", " << value.y << ", " << " }";
|
||||
return stream;
|
||||
}
|
||||
|
||||
const LogStream& operator<<(const LogStream& stream, const glm::vec3& value)
|
||||
{
|
||||
stream << "{ " << value.x << ", " << value.y << ", " << value.z << " }";
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace Inferno {
|
||||
// ----------------------------------------
|
||||
|
||||
const LogStream& operator<<(const LogStream& stream, const Transform& value);
|
||||
const LogStream& operator<<(const LogStream& stream, const glm::vec2& value);
|
||||
const LogStream& operator<<(const LogStream& stream, const glm::vec3& value);
|
||||
const LogStream& operator<<(const LogStream& stream, const glm::vec4& value);
|
||||
const LogStream& operator<<(const LogStream& stream, const glm::mat4& value);
|
||||
|
||||
Reference in New Issue
Block a user