Box2D
Safe HaskellNone
LanguageGHC2021

Box2D.Contact

Synopsis

Documentation

isValid :: ContactId -> IO Bool Source #

Contact identifier validation. Provides validation for up to 2^32 allocations.

Binds b2Contact_IsValid.

getData Source #

Arguments

:: ContactId 
-> Ptr ContactData

Result buffer.

-> IO () 

Get the data for a contact. The manifold may have no points if the contact is not touching.

Binds b2Contact_GetData.