ShapeConf.hpp File Reference

Go to the source code of this file.

Classes

struct  playrho::d2::BaseShapeConf
 Base configuration for initializing shapes. More...
 
struct  playrho::d2::ShapeBuilder< ConcreteConf >
 Builder configuration structure. More...
 
struct  playrho::d2::ShapeConf
 Shape configuration structure. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Functions

PLAYRHO_CONSTEXPR NonNegative< AreaDensity > playrho::d2::GetDensity (const BaseShapeConf &arg) noexcept
 Gets the density of the given shape configuration. More...
 
PLAYRHO_CONSTEXPR Finite< Real > playrho::d2::GetRestitution (const BaseShapeConf &arg) noexcept
 Gets the restitution of the given shape configuration. More...
 
PLAYRHO_CONSTEXPR NonNegative< Real > playrho::d2::GetFriction (const BaseShapeConf &arg) noexcept
 Gets the friction of the given shape configuration. More...