Skip to content

Commit ad0cf61

Browse files
committed
override vertex() method in Android2D renderer, fixes #701
1 parent 3209246 commit ad0cf61

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/src/processing/a2d/PGraphicsAndroid2D.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,12 @@ public void vertex(float x, float y, float z) {
453453
}
454454

455455

456+
@Override
457+
public void vertex(float[] v) {
458+
vertex(v[X], v[Y]);
459+
}
460+
461+
456462
@Override
457463
public void vertex(float x, float y, float u, float v) {
458464
showVariationWarning("vertex(x, y, u, v)");

0 commit comments

Comments
 (0)