summaryrefslogtreecommitdiff
path: root/gfx/models/vertex.hpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-01-25 01:09:25 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-01-25 01:09:25 +0000
commit9354c35431ce9f544eb9b37c1bb6d225038294f4 (patch)
tree00f96fb6f13fde76e535fb978603247dc876d0cb /gfx/models/vertex.hpp
parentMove texture cache to Texture class (diff)
downloadilt-9354c35431ce9f544eb9b37c1bb6d225038294f4.tar.bz2
ilt-9354c35431ce9f544eb9b37c1bb6d225038294f4.tar.xz
ilt-9354c35431ce9f544eb9b37c1bb6d225038294f4.zip
Simplify vertex interface
Diffstat (limited to 'gfx/models/vertex.hpp')
-rw-r--r--gfx/models/vertex.hpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/gfx/models/vertex.hpp b/gfx/models/vertex.hpp
index 4ab6024..3d7f933 100644
--- a/gfx/models/vertex.hpp
+++ b/gfx/models/vertex.hpp
@@ -10,25 +10,6 @@ public:
{
}
- glm::vec3 &
- GetPos()
- {
- return pos;
- }
-
- glm::vec2 &
- GetTexCoord()
- {
- return texCoord;
- }
-
- glm::vec3 &
- GetNormal()
- {
- return normal;
- }
-
-private:
glm::vec3 pos;
glm::vec2 texCoord;
glm::vec3 normal;