Table of Contents

Struct b3SimplexCache

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

A warm-start cache for the GJK simplex. Mirror of b3SimplexCache.

public struct b3SimplexCache

Inherited Members

Remarks

Reusing a cache across calls with nearby transforms improves performance. Zero-initialize it for the first call, or whenever the shapes change.

Fields

count

The number of stored simplex points.

indexA

The cached simplex vertex indices on shape A.

indexB

The cached simplex vertex indices on shape B.

metric

A value used to compare the length, area or volume of two simplexes.