mirror of https://github.com/AxioDL/boo.git
Remove unnecessary conditional
This commit is contained in:
parent
53f4e32c46
commit
0a049645d8
|
@ -53,7 +53,6 @@ public:
|
||||||
m_curSlewFrame = 0;
|
m_curSlewFrame = 0;
|
||||||
for (int i=0 ; i<8 ; ++i)
|
for (int i=0 ; i<8 ; ++i)
|
||||||
{
|
{
|
||||||
if (m_curSlewFrame == m_slewFrames)
|
|
||||||
m_oldCoefs[i] = m_coefs[i];
|
m_oldCoefs[i] = m_coefs[i];
|
||||||
m_coefs[i] = coefs[i];
|
m_coefs[i] = coefs[i];
|
||||||
}
|
}
|
||||||
|
@ -82,12 +81,9 @@ public:
|
||||||
m_slewFrames = slewFrames;
|
m_slewFrames = slewFrames;
|
||||||
m_curSlewFrame = 0;
|
m_curSlewFrame = 0;
|
||||||
for (int i=0 ; i<8 ; ++i)
|
for (int i=0 ; i<8 ; ++i)
|
||||||
{
|
|
||||||
if (m_curSlewFrame == m_slewFrames)
|
|
||||||
{
|
{
|
||||||
m_oldCoefs[i][0] = m_coefs[i][0];
|
m_oldCoefs[i][0] = m_coefs[i][0];
|
||||||
m_oldCoefs[i][1] = m_coefs[i][1];
|
m_oldCoefs[i][1] = m_coefs[i][1];
|
||||||
}
|
|
||||||
m_coefs[i][0] = coefs[i][0];
|
m_coefs[i][0] = coefs[i][0];
|
||||||
m_coefs[i][1] = coefs[i][1];
|
m_coefs[i][1] = coefs[i][1];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue