Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
chitalu committed Aug 28, 2023
1 parent d422127 commit c19e9b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/preproc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1354,6 +1354,7 @@ double getWindingNumber(std::shared_ptr<context_t> context_ptr, const vec3& quer
windingNumber += solidAngle;
}
}
// TODO: add else if (num_vertices_around_face == 3){} its possible to compute solid angle of a quad too (even a polygon in general)
else
{
const double solidAngle = calculate_signed_solid_angle(
Expand Down

0 comments on commit c19e9b4

Please sign in to comment.