Function BBTree.BBTree

BBTree (UnsafeSpan<int> triangles, UnsafeSpan<Int3> vertices)

Build a BBTree from a list of triangles.

Public
BBTree (

UnsafeSpan<int>

triangles

The triangles. Each triplet of 3 indices represents a node. The triangles are assumed to be in clockwise order.

UnsafeSpan<Int3>

vertices

The vertices of the triangles.

)

Build a BBTree from a list of triangles.