Sorry. Need to look more because of the pageflip.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61579
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
pt->fx = p->px;
pt->fy = p->py;
pt->fz = p->z;
- pt->u = ((p->u / obj->cur.geometry.w) * imagew) * FP1;
- pt->v = ((p->v / obj->cur.geometry.h) * imageh) * FP1;
+ pt->u = ((p->u * imagew) / uvw) * FP1;
+ pt->v = ((p->v * imageh) / uvh) * FP1;
if (pt->u < 0) pt->u = 0;
else if (pt->u > (imagew * FP1)) pt->u = (imagew * FP1);
if (pt->v < 0) pt->v = 0;