PlayRho  2.0.0
An interactive physics engine & library.
playrho::d2::part::FrictionIs< Policy > Struct Template Reference

Sets the implementing class of the Compositor friction policy. More...

#include <playrho/d2/part/Compositor.hpp>

Inheritance diagram for playrho::d2::part::FrictionIs< Policy >:
[legend]
Collaboration diagram for playrho::d2::part::FrictionIs< Policy >:
[legend]

Public Types

using Friction = Policy
 Alias for the friction policy. More...
 
- Public Types inherited from playrho::d2::part::DefaultPolicies
using Density = StaticAreaDensity<>
 Alias to the implementing class for the density policy.
 
using Filter = StaticFilter<>
 Alias to the implementing class for the filter policy.
 
using Friction = StaticTenthsFriction<>
 Alias for the friction policy.
 
using Geometry = StaticRectangle<>
 Alias to the implementing class for the geometry policy.
 
using Restitution = StaticRestitution<>
 Alias to the implementing class for the restitution policy.
 
using Sensor = StaticSensor<>
 Alias to the implementing class for the sensor policy.
 

Detailed Description

template<class Policy>
struct playrho::d2::part::FrictionIs< Policy >

Sets the implementing class of the Compositor friction policy.

Note
This class is not intended for standalone use.
Deliberately uses virtual inheritance of the DefaultPolicies base class in order to properly ensure the intended override of the alias.
See also
Compositor.

Member Typedef Documentation

◆ Friction

template<class Policy >
using playrho::d2::part::FrictionIs< Policy >::Friction = Policy

Alias for the friction policy.


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