(float x, float y)
| 895 | // } |
| 896 | |
| 897 | private void parsePathVertex(float x, float y) { |
| 898 | if (vertexCount == vertices.length) { |
| 899 | //vertices = (float[][]) PApplet.expand(vertices); |
| 900 | float[][] temp = new float[vertexCount << 1][2]; |
| 901 | System.arraycopy(vertices, 0, temp, 0, vertexCount); |
| 902 | vertices = temp; |
| 903 | } |
| 904 | vertices[vertexCount][X] = x; |
| 905 | vertices[vertexCount][Y] = y; |
| 906 | vertexCount++; |
| 907 | } |
| 908 | |
| 909 | |
| 910 | private void parsePathCode(int what) { |
no test coverage detected