Table of Contents

Struct b3BoxHull

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

A self-contained box hull. Mirror of b3BoxHull.

public struct b3BoxHull

Inherited Members

Remarks

Returned by value from the b3Make*Hull functions. Because the arrays are embedded rather than heap allocated, this must never be passed to b3DestroyHull.

Fields

base

The embedded hull header. Its offsets index into the arrays that follow.

boxEdges

The twenty-four box half-edges, as four bytes each.

boxFaces

The six box faces.

boxPlanes

The six box face planes, as four floats each.

boxPoints

The eight box points, as three floats each.

boxVertices

The eight box vertices.

nx

Normal x components, structure-of-arrays form.

ny

Normal y components, structure-of-arrays form.

nz

Normal z components, structure-of-arrays form.

padding

Explicit padding.

vx

Vertex x coordinates, structure-of-arrays form.

vy

Vertex y coordinates, structure-of-arrays form.

vz

Vertex z coordinates, structure-of-arrays form.