Struct ConvexHull.ConvexHullTriangleSource
- Namespace
- BepuPhysics.Collidables
- Assembly
- BepuPhysics.dll
public struct ConvexHull.ConvexHullTriangleSource : ITriangleSource
- Implements
- Inherited Members
Constructors
ConvexHullTriangleSource(in ConvexHull)
public ConvexHullTriangleSource(in ConvexHull hull)
Parameters
hullConvexHull
Methods
GetNextTriangle(out Vector3, out Vector3, out Vector3)
Gets the next triangle in the sequence, if any.
public bool GetNextTriangle(out Vector3 a, out Vector3 b, out Vector3 c)
Parameters
aVector3First vertex in the triangle.
bVector3Second vertex in the triangle.
cVector3Third vertex in the triangle.
Returns
- bool
True if there was another triangle, false otherwise.