Fixed HybridMultiFractal*D code (missing "m_")

Former-commit-id: de44ce541d0d040f484faf58c9a308c291d99cf4
This commit is contained in:
Lynix 2012-12-25 02:02:57 +01:00
parent 33a929c198
commit c1751ae648
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ float NzHybridMultiFractal3D::GetValue(float x, float y, float z, float resoluti
m_remainder = m_octaves - static_cast<int>(m_octaves);
if(remainder != 0)
if (m_remainder != 0)
m_value += m_remainder * m_source->GetValue(x,y,z,resolution) * m_exponent_array[static_cast<int>(m_octaves-1)];
return m_value/this->m_sum - m_offset;

View File

@ -53,7 +53,7 @@ float NzHybridMultiFractal4D::GetValue(float x, float y, float z, float w, float
m_remainder = m_octaves - static_cast<int>(m_octaves);
if(remainder != 0)
if (m_remainder != 0)
m_value += m_remainder * m_source->GetValue(x,y,z,w,resolution) * m_exponent_array[static_cast<int>(m_octaves-1)];
return m_value/this->m_sum - m_offset;

View File

@ -53,7 +53,7 @@ float NzHybridMultiFractal2D::GetValue(float x, float y, float resolution)
m_remainder = m_octaves - static_cast<int>(m_octaves);
if(remainder != 0)
if (m_remainder != 0)
m_value += m_remainder * m_source->GetValue(x,y,resolution) * m_exponent_array[static_cast<int>(m_octaves-1)];
return m_value/this->m_sum - m_offset;