Table of Contents

Enum b3MeshEdgeFlags

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

Adjacency flags on a mesh triangle. Mirror of b3MeshEdgeFlags.

[Flags]
public enum b3MeshEdgeFlags

Fields

None = 0

No flags.

b3_concaveEdge1 = 1

The first edge is concave.

b3_concaveEdge2 = 2

The second edge is concave.

b3_concaveEdge3 = 4

The third edge is concave.

b3_inverseConcaveEdge1 = 16

The first edge is concave when the triangle is inverted.

b3_inverseConcaveEdge2 = 32

The second edge is concave when the triangle is inverted.

b3_inverseConcaveEdge3 = 64

The third edge is concave when the triangle is inverted.

b3_allConcaveEdges = 7

All three edges are concave.

b3_flatEdge1 = 17

The first edge is flat: concave in both winding directions.

b3_flatEdge2 = 34

The second edge is flat: concave in both winding directions.

b3_flatEdge3 = 68

The third edge is flat: concave in both winding directions.

b3_allFlatEdges = 119

All three edges are flat.

Remarks

Used to suppress ghost collisions on internal edges of a triangle mesh. The edge numbering follows the triangle winding.