Class SplittablePolygon¶
Defined in File splittable_polygon.hpp
Class Documentation¶
-
class
legion::physics
::
SplittablePolygon
: public std::enable_shared_from_this<SplittablePolygon>¶ Public Functions
-
std::vector<std::shared_ptr<MeshHalfEdge>> &
GetMeshEdges
()¶
-
int
CountBoundary
()¶
-
void
CalculateLocalCentroid
()¶
-
void
AssignEdgeOwnership
()¶
-
void
ResetEdgeVisited
()¶
-
void
CalculatePolygonSplit
(const math::mat4 &transform, math::vec3 planePosition, math::vec3 planeNormal, bool keepBelow)¶
-
void
IdentifyBoundaries
(const math::mat4 &transform)¶
-
SplitState
GetPolygonSplitState
() const¶
-
void
DEBUG_drawEdgeBoundaryInset
(const math::mat4 &transform)¶
-
std::vector<std::shared_ptr<MeshHalfEdge>> &