This commit is contained in:
2025-12-04 05:02:54 +03:00
parent e1399d1814
commit 58aa03c4a9

View File

@@ -213,7 +213,7 @@ namespace omath::collision
static bool visible_from(const Face& f, const VectorType& p) static bool visible_from(const Face& f, const VectorType& p)
{ {
// positive if p is in front of the face // positive if p is in front of the face
return (f.n.dot(p) - f.d) > 1e-7f; return f.n.dot(p) - f.d > 1e-7f;
} }
static void add_edge_boundary(std::pmr::vector<Edge>& boundary, int a, int b) static void add_edge_boundary(std::pmr::vector<Edge>& boundary, int a, int b)