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>
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. | |
Definition of the Contactable
class and closely related code.