Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions core/src/processing/webgpu/PWebGPU.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,17 +204,17 @@ public static void resetMatrix(long graphicsId) {
}

public static void translate(long graphicsId, float x, float y) {
processing_translate(graphicsId, x, y);
processing_translate(graphicsId, x, y, 0);
checkError();
}

public static void rotate(long graphicsId, float angle) {
processing_rotate(graphicsId, angle);
processing_rotate(graphicsId, angle, 0, 0, 1);
checkError();
}

public static void scale(long graphicsId, float x, float y) {
processing_scale(graphicsId, x, y);
processing_scale(graphicsId, x, y, 1);
checkError();
}

Expand Down
2 changes: 1 addition & 1 deletion libprocessing
Submodule libprocessing updated 664 files
Loading