Add vec4 to logstream
This commit is contained in:
@@ -7,6 +7,11 @@ namespace Inferno {
|
||||
return stream << "{ " << value.x << ", " << value.y << ", " << value.z << " }";
|
||||
}
|
||||
|
||||
const LogStream& operator<<(const LogStream& stream, const glm::vec4& value)
|
||||
{
|
||||
return stream << "{ " << value.x << ", " << value.y << ", " << value.z << ", " << value.w << " }";
|
||||
}
|
||||
|
||||
const LogStream& operator<<(const LogStream& stream, const glm::mat4& value)
|
||||
{
|
||||
return stream << "mat4 "
|
||||
|
||||
@@ -45,6 +45,7 @@ namespace Inferno {
|
||||
|
||||
const LogStream& operator<<(const LogStream& stream, const TransformComponent& 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