From 2a6cc0fd8794768df3445f98d74bfe6850de2dc8 Mon Sep 17 00:00:00 2001 From: Kenneth van Ewijk Date: Wed, 25 May 2016 11:44:13 +0200 Subject: [PATCH] Fix missing Vertex --- HeightMap.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/HeightMap.h b/HeightMap.h index 0857248..ede7cc8 100644 --- a/HeightMap.h +++ b/HeightMap.h @@ -19,6 +19,19 @@ public: void GetHeigth(float x, float z); void SetTexture(const std::string &file); + struct Vertex { + float x; + float y; + float z; + + float normalX; + float normalY; + float normalZ; + + float texX; + float texY; + }; + std::vector vertices; };