Heightmap editor + saving
This commit is contained in:
@@ -35,6 +35,12 @@ struct TerrainModule {
|
||||
TerrainModule(flecs::world &ecs);
|
||||
static float get_height(Ogre::TerrainGroup *group,
|
||||
const Ogre::Vector3 &position);
|
||||
static float get_world_x(int x);
|
||||
static float get_world_y(int y);
|
||||
static int get_img_x(float world_x);
|
||||
static int get_img_y(float world_z);
|
||||
static void update_heightmap(const Ogre::Image &heightmap);
|
||||
static void save_heightmap();
|
||||
};
|
||||
struct TerrainReady {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user