PlayRho  2.0.0
An interactive physics engine & library.
ContactID.hpp File Reference

Definition of the ContactID alias and closely related code. More...

Include dependency graph for ContactID.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 playrho
 

Typedefs

using playrho::ContactID = detail::IndexingNamedType< ContactCounter, struct ContactIdentifier >
 Contact identifier. More...
 

Functions

constexpr auto playrho::IsValid (const ContactID &value) noexcept -> bool
 Determines validity of given value by comparing against playrho::InvalidContactID . More...
 

Variables

constexpr auto playrho::InvalidContactID = ContactID{static_cast<ContactID::underlying_type>(-1)}
 Invalid contact ID value. More...
 

Detailed Description

Definition of the ContactID alias and closely related code.