PlayRho  1.1.0
An Interactive Real-Time-Oriented C++ Physics Engine & Library
playrho::d2::ShapeConf Struct Reference

Shape configuration structure. More...

#include <ShapeConf.hpp>

Inheritance diagram for playrho::d2::ShapeConf:
[legend]
Collaboration diagram for playrho::d2::ShapeConf:
[legend]

Public Member Functions

constexpr ShapeBuilder ()=default
 Default constructor.
 
constexpr ShapeBuilder (const BaseShapeConf &value) noexcept
 Initializing constructor.
 
- Public Member Functions inherited from playrho::d2::ShapeBuilder< ShapeConf >
constexpr ShapeBuilder ()=default
 Default constructor.
 
constexpr ShapeBuilder (const BaseShapeConf &value) noexcept
 Initializing constructor.
 
constexpr ShapeConfUseFriction (NonNegative< Real > value) noexcept
 Uses the given friction.
 
constexpr ShapeConfUseRestitution (Finite< Real > value) noexcept
 Uses the given restitution.
 
constexpr ShapeConfUseDensity (NonNegative< AreaDensity > value) noexcept
 Uses the given density.
 

Additional Inherited Members

- Public Attributes inherited from playrho::d2::BaseShapeConf
NonNegative< Realfriction = NonNegative<Real>{Real{2} / Real{10}}
 Friction coefficient. More...
 
Finite< Realrestitution = Finite<Real>{0}
 Restitution (elasticity) of the associated shape. More...
 
NonNegative< AreaDensitydensity = NonNegative<AreaDensity>{0_kgpm2}
 Area density of the associated shape. More...
 

Detailed Description

Shape configuration structure.


The documentation for this struct was generated from the following file: