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

Definition of the Contactable class and closely related code. More...

#include <ostream>
#include <type_traits>
#include <playrho/Settings.hpp>
#include <playrho/ShapeID.hpp>
#include <playrho/BodyID.hpp>
Include dependency graph for Contactable.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  playrho::Contactable
 Aggregate data for identifying one side (of two) in a contact. More...
 

Namespaces

 playrho
 

Functions

constexpr bool playrho::IsFor (const Contactable &c, BodyID bodyID, ShapeID shapeID) noexcept
 Is-for convenience function. More...
 
constexpr bool playrho::operator!= (const Contactable &lhs, const Contactable &rhs) noexcept
 Inequality operator.
 
constexpr bool playrho::operator< (const Contactable &lhs, const Contactable &rhs) noexcept
 Less-than operator.
 
auto playrho::operator<< (std::ostream &os, const Contactable &c) -> std::ostream &
 Output stream operator support.
 
constexpr bool playrho::operator== (const Contactable &lhs, const Contactable &rhs) noexcept
 Equality operator.
 

Detailed Description

Definition of the Contactable class and closely related code.