Nudge Physics
A single file, header-only 3D physics library
Loading...
Searching...
No Matches
nudge::ContactData Struct Reference

The ContactData class. More...

#include <nudge.h>

Public Attributes

Contactdata
 
BodyPairbodies
 
uint64_t * tags
 
uint32_t capacity
 
uint32_t count
 
uint32_t * sleeping_pairs
 
uint32_t sleeping_count
 

Detailed Description

The ContactData class.

Member Data Documentation

◆ data

Contact* nudge::ContactData::data

array of Contact structs of size count

◆ bodies

BodyPair* nudge::ContactData::bodies

array of BodyPair structs of size count

◆ tags

uint64_t* nudge::ContactData::tags

array of uint64_t tags of size count. Each tag contains the two uint16_t tags of the colliders involved in the contact

◆ capacity

uint32_t nudge::ContactData::capacity

the capacity of the arrays

◆ count

uint32_t nudge::ContactData::count

the number of contacts

◆ sleeping_pairs

uint32_t* nudge::ContactData::sleeping_pairs

[something related to sleeping]

◆ sleeping_count

uint32_t nudge::ContactData::sleeping_count

the number of sleeping pairs


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