From c3617a13b6e4d9fb50d32478c68fae94be1b2cba Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 19 Mar 2023 23:31:17 +0000 Subject: Add defaulted Vertex equality operator --- gfx/models/vertex.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gfx') diff --git a/gfx/models/vertex.hpp b/gfx/models/vertex.hpp index 28dc8f3..64ec3d0 100644 --- a/gfx/models/vertex.hpp +++ b/gfx/models/vertex.hpp @@ -11,6 +11,8 @@ public: } #endif + bool operator==(const Vertex &) const = default; + glm::vec3 pos; glm::vec2 texCoord; glm::vec3 normal; -- cgit v1.2.3