diff options
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/models/vertex.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/models/vertex.hpp b/gfx/models/vertex.hpp index f2e38f6..095c82f 100644 --- a/gfx/models/vertex.hpp +++ b/gfx/models/vertex.hpp @@ -4,7 +4,7 @@ class Vertex { public: - Vertex(glm::vec3 pos, glm::vec2 texCoord, glm::vec3 normal) : + constexpr Vertex(glm::vec3 pos, glm::vec2 texCoord, glm::vec3 normal) : pos {std::move(pos)}, texCoord {std::move(texCoord)}, normal {std::move(normal)} { } |