question: protected void curveVertexCheck ( int shape ) { if ( shape != POLYGON ) { throw new RuntimeException ( "You must use beginShape() or " + "beginShape(POLYGON) before curveVertex()" ) ; } if ( curveVertices == null ) { curveVertices = new float [ 128 ] [ 3 ] ; } if ( curveVertexCount == curveVertices . length ) { float [ ] [ ] temp = new float [ curveVertexCount << 1 ] [ 3 ] ; System . arraycopy ( curveVertices , 0 , temp , 0 , curveVertexCount ) ; curveVertices = temp ; } curveInitCheck ( ) ; }
target:  Perform initialization specific to curveVertex(), and handle standard error modes. Can be overridden by subclasses that need the flexibility.