PGraphics3 text working again

This commit is contained in:
benfry
2005-03-01 14:04:11 +00:00
parent 4c5701b0f1
commit 699d6b3672
5 changed files with 61 additions and 36 deletions

View File

@@ -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);