mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-06-08 08:41:34 +00:00
git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@114 ea6a568a-9f4f-0410-981a-c910a81bb256
24 lines
545 B
C++
24 lines
545 B
C++
HeightMap::HeightMap(Ogre::SceneNode* r)
|
|
: mTerrainSceneNode(r),
|
|
mQuadRoot(0),
|
|
mMorphingEnabled(true),
|
|
mTextureFadingEnabled(true),
|
|
mBaseLand(r)
|
|
{
|
|
|
|
}
|
|
//----------------------------------------------
|
|
HeightMap::~HeightMap(){
|
|
delete mQuadRoot;
|
|
}
|
|
//----------------------------------------------
|
|
void HeightMap::create(){
|
|
mQuadRoot = new Quad(Quad::QL_ROOT, 0);
|
|
}
|
|
//----------------------------------------------
|
|
void HeightMap::update(Ogre::Real t){
|
|
assert(mQuadRoot);
|
|
mQuadRoot->update(t);
|
|
mBaseLand.update();
|
|
}
|
|
|