Browse Source

Imediately return

master
Riyyi 4 years ago
parent
commit
f740a34b89
  1. 6
      inferno/src/inferno/scene/components.cpp

6
inferno/src/inferno/scene/components.cpp

@ -4,16 +4,14 @@ namespace Inferno {
const LogStream& operator<<(const LogStream& stream, const glm::vec3& value) const LogStream& operator<<(const LogStream& stream, const glm::vec3& value)
{ {
stream << "{ " << value.x << ", " << value.y << ", " << value.z << " }"; return stream << "{ " << value.x << ", " << value.y << ", " << value.z << " }";
return stream;
} }
const LogStream& operator<<(const LogStream& stream, const glm::mat4& value) const LogStream& operator<<(const LogStream& stream, const glm::mat4& value)
{ {
stream << "mat4 " return stream << "mat4 "
<< value[0] << "\n " << value[1] << "\n " << value[0] << "\n " << value[1] << "\n "
<< value[2] << "\n " << value[3]; << value[2] << "\n " << value[3];
return stream;
} }
const LogStream& operator<<(const LogStream& stream, const TransformComponent& value) const LogStream& operator<<(const LogStream& stream, const TransformComponent& value)

Loading…
Cancel
Save