Advertisement

Can someone interpret this please !

Started by March 02, 2000 02:53 AM
-1 comments, last by mmrpg 24 years, 9 months ago
Can somwone interpret this in to non -c pseudo code or vb code please int pnpoly(int npol, float *xp, float *yp, float x, float y) { int i, j, c = 0; for (i = 0, j = npol-1; i < npol; j = i++) { if ((((yp<=y) && if (y))) && (x < (xp[j] - xp) * (y - yp) / (yp[j] - yp) + xp)) c = !c; } return c; } </i>

This topic is closed to new replies.

Advertisement