shithub: riscv

Download patch

ref: ffdbfdf99120848b584e04d7353590524eb894f9
parent: 0ed8f6ff5f45045f487304428af106c769582dea
author: BurnZeZ <devnull@localhost>
date: Tue Feb 12 22:24:31 EST 2019

postscript: use PI

--- a/sys/src/cmd/postscript/common/bbox.c
+++ b/sys/src/cmd/postscript/common/bbox.c
@@ -209,7 +209,7 @@
  *
  */
 
-    angle *= 3.1416 / 180;
+    angle *= PI / 180;
 
     matrix1[0] = matrix1[3] = cos(angle);
     matrix1[1] = sin(angle);