Table of Contents

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

hull ConvexHull

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

a Vector3

First vertex in the triangle.

b Vector3

Second vertex in the triangle.

c Vector3

Third vertex in the triangle.

Returns

bool

True if there was another triangle, false otherwise.