|
constexpr NonNegative< AreaDensity > | playrho::d2::GetDensity (const BaseShapeConf &arg) noexcept |
| Gets the density of the given shape configuration.
|
|
constexpr Filter | playrho::d2::GetFilter (const BaseShapeConf &arg) noexcept |
| Gets the filter of the given shape configuration.
|
|
constexpr NonNegativeFF< Real > | playrho::d2::GetFriction (const BaseShapeConf &arg) noexcept |
| Gets the friction of the given shape.
|
|
constexpr Finite< Real > | playrho::d2::GetRestitution (const BaseShapeConf &arg) noexcept |
| Gets the restitution of the given shape.
|
|
constexpr bool | playrho::d2::IsSensor (const BaseShapeConf &arg) noexcept |
| Gets the is-sensor state of the given shape configuration.
|
|
void | playrho::d2::SetDensity (BaseShapeConf &arg, NonNegative< AreaDensity > value) |
| Sets the density of the given shape configuration.
|
|
void | playrho::d2::SetFilter (BaseShapeConf &arg, Filter value) |
| Sets the filter of the given shape configuration.
|
|
void | playrho::d2::SetFriction (BaseShapeConf &arg, NonNegative< Real > value) |
| Sets the friction of the given shape.
|
|
void | playrho::d2::SetRestitution (BaseShapeConf &arg, Real value) noexcept |
| Sets the restitution of the given shape.
|
|
void | playrho::d2::SetSensor (BaseShapeConf &arg, bool value) |
| Sets the is-sensor state of the given shape configuration.
|
|
Definition of the BaseShapeConf
class and closely related code.