yfeng95 / face3d

Python tools for 3D face: 3DMM, Mesh processing(transform, camera, light, render), 3D face representations.
2.64k stars 609 forks source link

代码中有个很严重的Bug #85

Open mshmoon opened 2 years ago

mshmoon commented 2 years ago

在判断一个点是否落于三角行内,当出现如下情形: variable1 = np.array([[0, 20], [20, 20], [20, 20]]) variable2=np.array([x,x])时, isPointInTri(variable2, variable1) 这个函数的判断结果都为True, 也就是说,无论x为何值,结果都是True