diff options
-rw-r--r-- | rbmp.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -63,11 +63,8 @@ public: red.addEdge(halfedges[0]); blue.addEdge(halfedges[1]); } - double belief() const { - return halfedges[0].X + halfedges[1].X; - } bool active() const { - return belief() >= 0; + return halfedges[0].X + halfedges[1].X >= 0; } }; |