PHP 8.5.0 RC 2 available for testing

Voting

: min(one, five)?
(Example: nine)

The Note You're Voting On

joseluis at pellicer dot org
16 years ago
About that rotating function by david at horizon-nigh not working, I found the bug.
I noticed that the x1 and y1 where not used, so, in the loop through every pixel and transform it, change

$x2 = $x * cos($theta) - $y * sin($theta);
$y2 = $x * sin($theta) + $y * cos($theta);

to:

$x2 = $x1 * cos($theta) - $y1 * sin($theta);
$y2 = $x1 * sin($theta) + $y1 * cos($theta);

<< Back to user notes page

AltStyle によって変換されたページ (->オリジナル) /