mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 21:29:17 +01:00
PGraphics3 text working again
This commit is contained in:
@@ -1929,11 +1929,11 @@ public class PGraphics3 extends PGraphics {
|
||||
|
||||
|
||||
protected void imageImpl(PImage image,
|
||||
float x1, float y1, float w, float h,
|
||||
float x1, float y1, float x2, float y2,
|
||||
int u1, int v1, int u2, int v2) {
|
||||
|
||||
float x2 = x1 + w;
|
||||
float y2 = y1 + h;
|
||||
//float x2 = x1 + w;
|
||||
//float y2 = y1 + h;
|
||||
|
||||
boolean savedStroke = stroke;
|
||||
boolean savedFill = fill;
|
||||
@@ -1961,6 +1961,8 @@ public class PGraphics3 extends PGraphics {
|
||||
fillA = 1;
|
||||
}
|
||||
|
||||
//System.out.println(fill + " " + fillR + " " + fillG + " " + fillB);
|
||||
|
||||
beginShape(QUADS);
|
||||
texture(image);
|
||||
vertex(x1, y1, u1, v1);
|
||||
|
||||
Reference in New Issue
Block a user