coding guidelines: indentation is made of spaces, not tabs
git-svn-id: http://piwigo.org/svn/trunk@13882 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
4654f707e0
commit
c137a52c15
1 changed files with 12 additions and 11 deletions
|
@ -290,8 +290,7 @@ class pwg_image
|
||||||
// Amount should be in the range of 28-10
|
// Amount should be in the range of 28-10
|
||||||
$amount = round(abs(-28 + ($amount * 0.18)), 2);
|
$amount = round(abs(-28 + ($amount * 0.18)), 2);
|
||||||
|
|
||||||
$matrix = array
|
$matrix = array(
|
||||||
(
|
|
||||||
array(-1, -1, -1),
|
array(-1, -1, -1),
|
||||||
array(-1, $amount, -1),
|
array(-1, $amount, -1),
|
||||||
array(-1, -1, -1),
|
array(-1, -1, -1),
|
||||||
|
@ -303,8 +302,10 @@ class pwg_image
|
||||||
{
|
{
|
||||||
$line = & $matrix[$i];
|
$line = & $matrix[$i];
|
||||||
for ($j=0; $j<3; $j++)
|
for ($j=0; $j<3; $j++)
|
||||||
|
{
|
||||||
$line[$j] /= $norm;
|
$line[$j] /= $norm;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $matrix;
|
return $matrix;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue