Interface ITriangleSource
- Namespace
- BepuPhysics.Collidables
- Assembly
- BepuPhysics.dll
Defines a type capable of providing a sequence of triangles.
public interface ITriangleSource
Methods
GetNextTriangle(out Vector3, out Vector3, out Vector3)
Gets the next triangle in the sequence, if any.
bool GetNextTriangle(out Vector3 a, out Vector3 b, out Vector3 c)
Parameters
a
Vector3First vertex in the triangle.
b
Vector3Second vertex in the triangle.
c
Vector3Third vertex in the triangle.
Returns
- bool
True if there was another triangle, false otherwise.