Joint.cpp File Reference

Go to the source code of this file.

Namespaces

 playrho
 
 playrho::d2
 

Functions

bool playrho::d2::IsEnabled (const Joint &j) noexcept
 Short-cut function to determine if both bodies are enabled. More...
 
void playrho::d2::SetAwake (Joint &j) noexcept
 Wakes up the joined bodies. More...
 
JointCounter playrho::d2::GetWorldIndex (const Joint *joint)
 Gets the world index of the given joint. More...
 
BodyConstraintPtr & playrho::d2::At (std::unordered_map< const Body *, BodyConstraint * > &container, const Body *key)
 Provides referenced access to the identified element of the given container. More...
 
const char * playrho::d2::ToString (Joint::LimitState val) noexcept
 Provides a human readable C-style string uniquely identifying the given limit state. More...