public void copyTo(PositionTextureVertex[] verts,TexturedQuad[] quad){
  TexturedPolygon[] poly=new TexturedPolygon[quad.length];
  for (int idx=0; idx < quad.length; idx++) {
    poly[idx]=new TexturedPolygon((PositionTextureVertex[])quad[idx].vertexPositions);
  }
  copyTo(verts,poly);
}

public void copyTo ( PositionTextureVertex [ ] verts , TexturedQuad [ ] quad ) { TexturedPolygon [ ] poly = new TexturedPolygon [ quad . length ] ; for ( int idx = 0 ; idx < quad . length ; idx ++ ) { poly [ idx ] = new TexturedPolygon ( ( PositionTextureVertex [ ] ) quad [ idx ] . vertexPositions ) ; } copyTo ( verts , poly ) ; }
copies an array of vertices and quads to the current shape . this method converts quads to polygons and then calls the main copyto method .
