Jelajahi Sumber

Fix missing Vertex

Kenneth van Ewijk 9 tahun lalu
induk
melakukan
2a6cc0fd87
1 mengubah file dengan 13 tambahan dan 0 penghapusan
  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;
 };