Thats interesting,
You might need to find the triangle that you are drawing to.
You could iterate through all of the models triangles and ignore those who are facing away from you.
Which also means that the vertices seem to be clockwise in view space.
So you consider all triangles which are CCW(counter clockwise) in view space and ignore all who are not.
function TriangleCCW(x1,y1,x2,y2,x3,y3)
if ((x1-x2)*(y3-y2))-((y1-y2)*(x3-x2))>0 then exitfunction 1
endfunction 0
Then you want to know if the Point is inside the triangle you are looking at.
function PointInTriangle(PointX,PointY,x1,y1,x2,y2,x3,y3)
AB#=((PointY-y1)*(x2-x1))-((PointX-x1)*(y2-y1))
BC#=((PointY-y2)*(x3-x2))-((PointX-x2)*(y3-y2))
if AB#*BC#<=0 then exitfunction 0
CA#=((PointY-y3)*(x1-x3))-((PointX-x3)*(y1-y3))
if BC#*CA#<=0 then exitfunction 0
endfunction 1