Parcourir la source

Fix missing Vertex

Kenneth van Ewijk il y a 9 ans
Parent
commit
2a6cc0fd87
1 fichiers modifiés avec 13 ajouts et 0 suppressions
  1. 13 0
      HeightMap.h

+ 13 - 0
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<Vertex> vertices;
 };