Help combining two functions in C++
<p>I need to combine these two functions. 
and need help in so:</p>

<pre><code>int Triangle(GzRender *render, int numParts, GzToken *nameList,GzPointer *valueList)
{    
    if (on_screen) 
        {      
          return Position(render, pos);
        }
}



int Position(GzRender *render, GzCoord vertexList[3])
   {
     GzCoord *pv[3];
     int i,j;
     pv[0] = &amp;vertexList[0];
 pv[1] = &amp;vertexList[1];
 pv[2] = &amp;vertexList[2];          

    //more function code in here
   }
</code></pre>

<p>Can anyone help me with this.</p>

<p>Regards</p>
