postscript: use PI
This commit is contained in:
parent
0ed8f6ff5f
commit
ffdbfdf991
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ rotate(angle)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
angle *= 3.1416 / 180;
|
angle *= PI / 180;
|
||||||
|
|
||||||
matrix1[0] = matrix1[3] = cos(angle);
|
matrix1[0] = matrix1[3] = cos(angle);
|
||||||
matrix1[1] = sin(angle);
|
matrix1[1] = sin(angle);
|
||||||
|
|
Loading…
Reference in a new issue