Skip to main content

SolverContacts

Type Alias SolverContacts 

Source
pub type SolverContacts = ArrayVec<SolverContact, 2>;
Expand description

The container of a manifold’s solver contacts. In 2D a manifold has at most 2 active contacts, so they are stored inline: the solver’s contact gathers read one contiguous manifold instead of chasing a heap allocation per manifold (a dependent cache miss on every SIMD lane of every constraint, every step).

Aliased Type§

pub struct SolverContacts { /* private fields */ }