mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
FX - fix rad-deg conversion in rotate()
This commit is contained in:
@@ -1437,7 +1437,7 @@ public class PGraphicsFX2D extends PGraphics {
|
||||
|
||||
@Override
|
||||
public void rotate(float angle) {
|
||||
context.rotate(PApplet.radians(angle));
|
||||
context.rotate(PApplet.degrees(angle));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user