HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
Box2D.SimplexCache Struct Reference

Used to warm start the GJK simplex. If you call this function multiple times with nearby transforms this might improve performance. Otherwise you can zero initialize this. The distance cache must be initialized to zero on the first call. Users should generally just zero initialize this structure for each call. More...

Public Attributes

ushort Count
 The number of stored simplex points.
 
fixed byte IndexA [3]
 The cached simplex indices on shape A.
 
fixed byte IndexB [3]
 The cached simplex indices on shape B.
 

Detailed Description

Used to warm start the GJK simplex. If you call this function multiple times with nearby transforms this might improve performance. Otherwise you can zero initialize this. The distance cache must be initialized to zero on the first call. Users should generally just zero initialize this structure for each call.


The documentation for this struct was generated from the following file: