diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-19 23:31:17 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-19 23:31:17 +0000 |
commit | c3617a13b6e4d9fb50d32478c68fae94be1b2cba (patch) | |
tree | 5b52f9b645e379e5bcf2a744193b8e30266dc73b /gfx/models/vertex.hpp | |
parent | Make Vertex aggregrate constructor conditional on requirement (diff) | |
download | ilt-c3617a13b6e4d9fb50d32478c68fae94be1b2cba.tar.bz2 ilt-c3617a13b6e4d9fb50d32478c68fae94be1b2cba.tar.xz ilt-c3617a13b6e4d9fb50d32478c68fae94be1b2cba.zip |
Add defaulted Vertex equality operator
Diffstat (limited to 'gfx/models/vertex.hpp')
-rw-r--r-- | gfx/models/vertex.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |