My Project
TextureGenerator.h
1 #pragma once
2 #include "Terrain.h"
3 
4 namespace ParaTerrain
5 {
6 
8  {
9  public:
10  virtual void Init(Terrain * pTerrain, int textureWidth, int textureHeight);
11  virtual void Generate() = 0;
12  protected:
13  void GetPosition(int texelX, int texelY, float &worldX, float &worldY);
14  Terrain *m_pTerrain;
15  int m_TextureWidth, m_TextureHeight;
16  };
17 }
Definition: SceneObject.h:15
This class represents a single, contiguous chunk of terrain and is the primary public interface to De...
Definition: Terrain.h:386
Definition: TextureGenerator.h:7