code style
This commit is contained in:
parent
81b4416a6f
commit
91b4823d37
1 changed files with 2 additions and 2 deletions
|
@ -938,12 +938,12 @@ public:
|
||||||
if ( dNewValue < dOldValue )
|
if ( dNewValue < dOldValue )
|
||||||
{
|
{
|
||||||
dOldValue =
|
dOldValue =
|
||||||
dOldValue * dWeightDown + (1.0 - dWeightDown) * dNewValue;
|
dOldValue * dWeightDown + ( 1.0 - dWeightDown ) * dNewValue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dOldValue =
|
dOldValue =
|
||||||
dOldValue * dWeightUp + (1.0 - dWeightUp) * dNewValue;
|
dOldValue * dWeightUp + ( 1.0 - dWeightUp ) * dNewValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue