mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 03:40:31 +02:00
start of Tool Commentary
This commit is contained in:
@@ -115,7 +115,7 @@ std::vector<Triangle> IntelliHelper::calculateTriangles(std::vector<QPoint> poly
|
||||
|
||||
bool IntelliHelper::isInPolygon(std::vector<Triangle> &triangles, QPoint &point){
|
||||
for(auto triangle : triangles){
|
||||
if(IntelliHelper::isInTriangle(triangle.A ,triangle.B, triangle.C, point)){
|
||||
if(IntelliHelper::isInTriangle(triangle, point)){
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user