JointType.hpp File Reference
#include <PlayRho/Defines.hpp>
#include <cstdint>

Go to the source code of this file.

Namespaces

 playrho
 
 playrho::d2
 

Enumerations

enum  playrho::d2::JointType : std::uint8_t {
  playrho::d2::JointType::Unknown, playrho::d2::JointType::Revolute, playrho::d2::JointType::Prismatic, playrho::d2::JointType::Distance,
  playrho::d2::JointType::Pulley, playrho::d2::JointType::Target, playrho::d2::JointType::Gear, playrho::d2::JointType::Wheel,
  playrho::d2::JointType::Weld, playrho::d2::JointType::Friction, playrho::d2::JointType::Rope, playrho::d2::JointType::Motor
}
 Enumeration of joint types. More...
 

Functions

JointType playrho::d2::GetType (const Joint &joint) noexcept
 Gets the type of the given joint. More...
 
const char * playrho::d2::ToString (JointType type) noexcept
 Provides a C-style (null-terminated) string name for given joint type. More...