public void setVertexArray ( VertexArray vertexArray ) { if ( vertexArray == null ) { throw new IllegalArgumentException ( "Vertex array cannot be null" ) ; } vertexArray . checkCreated ( ) ; this . vertexArray = vertexArray ; }
Sets the vertex array for this model .