paysages3d/src/interface/modeler/quickapp/WaterModeler.cpp

17 lines
394 B
C++
Raw Normal View History

2014-08-28 13:09:47 +00:00
#include "WaterModeler.h"
#include "MainModelerWindow.h"
#include "Scenery.h"
#include "TerrainDefinition.h"
#include "FloatPropertyBind.h"
2014-08-28 13:09:47 +00:00
WaterModeler::WaterModeler(MainModelerWindow *main)
2014-08-28 13:09:47 +00:00
{
prop_water_height = new FloatPropertyBind(main, "water_height", "value", main->getScenery()->getTerrain()->propWaterHeight());
2014-08-28 13:09:47 +00:00
}
WaterModeler::~WaterModeler()
2014-08-28 13:09:47 +00:00
{
delete prop_water_height;
2014-08-28 13:09:47 +00:00
}