Skip to content

Commit

Permalink
Scale returned maxAmplitude with radius
Browse files Browse the repository at this point in the history
  • Loading branch information
latami committed Dec 13, 2016
1 parent e479e34 commit 4e609b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HeightMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -654,5 +654,5 @@ void HeightMap::getCornerPosition(Ogre::Vector3 &upperLeft, Ogre::Vector3 &upper

Ogre::Real HeightMap::getAmplitude()
{
return this->maxHeight;
return this->maxHeight*RParam->getRadius();
}

0 comments on commit 4e609b5

Please sign in to comment.