Skip to content

Commit a94c78f

Browse files
committed
added nodiscard
1 parent b6ac0a1 commit a94c78f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/omath/collision/epa_algorithm.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ namespace omath::collision
111111
{
112112
if (to_delete[i])
113113
continue;
114+
114115
if (visible_from(faces[i], p))
115116
{
116117
const auto& rf = faces[i];
@@ -266,6 +267,7 @@ namespace omath::collision
266267
return d;
267268
return V{1, 0, 0};
268269
}
270+
[[nodiscard]]
269271
static std::pmr::vector<Face> create_initial_tetra_faces(std::pmr::memory_resource& mem_resource,
270272
const std::pmr::vector<VectorType>& vertexes)
271273
{

0 commit comments

Comments
 (0)