Spawn objects from file

This commit is contained in:
2016-05-27 10:56:24 +02:00
parent 1c59a3bc6f
commit d83cc6403c
8 changed files with 64 additions and 6 deletions
+3 -1
View File
@@ -5,6 +5,8 @@
#include <vector>
#include <GL/freeglut.h>
class World;
class HeightMap
{
private:
@@ -14,7 +16,7 @@ private:
GLuint imageIndex;
int scale;
public:
HeightMap(const std::string &file, float scale);
HeightMap(const std::string &file, float scale, World* world);
~HeightMap();
void Draw();